rbenv: don't rehash on login. pyenv: fix PATH

This commit is contained in:
Henrik Lissner 2014-08-24 06:31:21 -04:00
parent 9489c825bf
commit 4f688a32c1

7
zshrc
View file

@ -19,6 +19,9 @@ source ~/.zsh/aliases
source ~/.zsh/config
# Init rbenv & pyenv
command_exists "rbenv" && eval "$(rbenv init -)"
command_exists "pyenv" && eval "$(pyenv init -)"
command_exists "fasd" && eval "$(fasd --init auto)"
command_exists "rbenv" && eval "$(rbenv init - --no-rehash)"
if command_exists "pyenv"; then
eval "$(pyenv init -)"
PATH="${HOME}/.pyenv/shims:${PATH}"
fi