25 lines
616 B
Bash
25 lines
616 B
Bash
# Source Prezto.
|
|
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
|
source ~/.zsh/preztorc
|
|
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
|
fi
|
|
|
|
# Source component rcfiles
|
|
if [[ -z "$EMACS" ]]; then
|
|
source ~/.zsh/config
|
|
is-callable 'fasd' && eval "$(fasd --init auto)"
|
|
fi
|
|
|
|
source ~/.zsh/aliases
|
|
|
|
# Init extra niceties
|
|
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
|