2013-03-21 19:23:20 -07:00
|
|
|
# ZSH Env variables
|
2014-03-29 14:56:33 -07:00
|
|
|
export ZSH_INIT=1
|
2013-03-21 19:23:20 -07:00
|
|
|
export ZSH=$HOME/.oh-my-zsh
|
|
|
|
|
2013-08-04 02:04:22 -07:00
|
|
|
source ~/.zsh/functions
|
|
|
|
|
2013-03-21 19:23:20 -07:00
|
|
|
# Plugins:
|
2013-08-04 02:04:22 -07:00
|
|
|
# see <https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins>
|
2013-12-19 06:50:14 -08:00
|
|
|
plugins=(git)
|
2013-08-04 02:04:22 -07:00
|
|
|
if is_mac; then
|
|
|
|
plugins+=tmux
|
|
|
|
plugins+=vagrant
|
|
|
|
fi
|
2013-03-21 19:23:20 -07:00
|
|
|
|
|
|
|
# Liiiiive!
|
2013-03-03 05:48:43 -08:00
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
2013-03-08 21:18:10 -08:00
|
|
|
# Source component rcfiles
|
2013-12-19 06:50:14 -08:00
|
|
|
source ~/.zsh/paths
|
2013-03-16 10:31:08 -07:00
|
|
|
source ~/.zsh/aliases
|
|
|
|
source ~/.zsh/config
|
2013-03-16 15:00:40 -07:00
|
|
|
source ~/.zsh/completion
|
2013-03-16 10:31:08 -07:00
|
|
|
source ~/.zsh/prompt
|
2013-12-19 06:50:14 -08:00
|
|
|
# source ~/.zsh/welcome
|
2013-03-03 05:48:43 -08:00
|
|
|
|
2013-03-08 21:23:06 -08:00
|
|
|
# Have a system specific rcfile? Source it!
|
2013-03-21 19:23:20 -07:00
|
|
|
[ -f ~/.localrc ] && source ~/.localrc
|
2014-03-29 14:56:33 -07:00
|
|
|
|
|
|
|
# Init rbenv & pyenv
|
|
|
|
command_exists rbenv && eval "$(rbenv init -)"
|
|
|
|
command_exists pyenv && eval "$(pyenv init -)"
|