# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh

# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
export ZSH_THEME="ben-prose"

# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"

# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"

# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"

# Uncomment following line if you want to disable autosetting terminal title.
DISABLE_AUTO_TITLE="true"

# Uncomment following line if you want disable red dots displayed while waiting for completion
# DISABLE_COMPLETION_WAITING_DOTS="true"

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git brew bundler cap gem osx rails3 rvm dircycle command-coloring npm)

source $ZSH/oh-my-zsh.sh

#
# Some Custom things saved from my bash profile
#

export TERM=screen-256color
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=/Users/benbeltran/Projects/nitrogen/bin:/usr/local/bin:/usr/local/sbin:$PATH
export NODE_PATH=/usr/local/lib/node_modules:$NODE_PATH
export PYTONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
export PS1="$PS1"'$([ -n "$TMUX" ] && tmux setenv TMUXPWD_$(tmux display -p "#I_#P") "$PWD")'

#Editor.
export EDITOR="vim"
export VISUAL="vim"

#display fortune when I start
echo -e "\033[30m"
/usr/local/bin/fortune
echo -e "\033[m"

#some aliases.
alias dwarffortress="/Applications/Dwarf\ Fortress/df"
alias ls="ls -FG"
alias rspec="rspec --color"
alias nitro="server.js"

#Screeninator and RVM scripts
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator

bindkey -v
bindkey '^R' history-incremental-pattern-search-backward

#
# End of the custom things from my bash profile.
# There's probably a more "zsh-ish" way of doing these, but I have no time.
#

# Customize to your needs...