diff --git a/zshrc b/zshrc index 5b0a1d8f..6cf490ea 100644 --- a/zshrc +++ b/zshrc @@ -1,6 +1,13 @@ -# Init ZSH -ZSH=$HOME/.oh-my-zsh -plugins=(laravel ruby python brew) +# ZSH Env variables +export ZSH=$HOME/.oh-my-zsh + +# Plugins: +# ruby: https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/ruby +# python: https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/python +# brew: https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/brew +plugins=(ruby python brew) + +# Liiiiive! source $ZSH/oh-my-zsh.sh # Source component rcfiles @@ -11,9 +18,7 @@ source ~/.zsh/prompt source ~/.zsh/welcome # Have a system specific rcfile? Source it! -if [ -f ~/.localrc ]; then - source ~/.localrc -fi +[ -f ~/.localrc ] && source ~/.localrc # Load RVM into a shell session *as a function* [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"