helm/zshrc
2014-09-20 16:38:40 -04:00

28 lines
665 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
# Restore git completion with g()
compdef g=git