2013-03-21 19:23:20 -07:00
|
|
|
# ZSH Env variables
|
|
|
|
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>
|
|
|
|
plugins=(vi-mode ruby python composer git)
|
|
|
|
if is_mac; then
|
|
|
|
plugins+=brew
|
|
|
|
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-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
|
|
|
|
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
|
2013-03-03 05:48:43 -08:00
|
|
|
|
|
|
|
# Load RVM into a shell session *as a function*
|
|
|
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
|