2014-07-29 02:24:29 -07:00
|
|
|
# Source Prezto.
|
|
|
|
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
2014-09-08 09:11:38 -07:00
|
|
|
source ~/.zsh/preztorc
|
|
|
|
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
2013-08-04 02:04:22 -07:00
|
|
|
fi
|
2013-03-21 19:23:20 -07:00
|
|
|
|
2013-03-08 21:18:10 -08:00
|
|
|
# Source component rcfiles
|
2014-09-20 13:38:40 -07:00
|
|
|
if [[ -z "$EMACS" ]]; then
|
|
|
|
source ~/.zsh/config
|
|
|
|
is-callable 'fasd' && eval "$(fasd --init auto)"
|
|
|
|
fi
|
|
|
|
|
2014-09-05 13:54:15 -07:00
|
|
|
source ~/.zsh/aliases
|
2014-03-29 14:56:33 -07:00
|
|
|
|
2014-08-27 06:07:17 -07:00
|
|
|
# Init extra niceties
|
2014-09-20 13:38:40 -07:00
|
|
|
is-callable 'rbenv' && eval "$(rbenv init - --no-rehash)"
|
|
|
|
if is-callable 'pyenv'; then
|
|
|
|
eval "$(pyenv init - --no-rehash)"
|
|
|
|
eval "$(pyenv virtualenv-init -)"
|
|
|
|
fi
|
|
|
|
if is-callable 'go'; then
|
|
|
|
export GOPATH="$HOME/Dropbox/Projects/dev/go"
|
|
|
|
export PATH="$GOPATH/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Restore git completion with g()
|
|
|
|
compdef g=git
|