rbenv: don't rehash on login. pyenv: fix PATH
This commit is contained in:
parent
9489c825bf
commit
4f688a32c1
7
zshrc
7
zshrc
|
@ -19,6 +19,9 @@ source ~/.zsh/aliases
|
||||||
source ~/.zsh/config
|
source ~/.zsh/config
|
||||||
|
|
||||||
# Init rbenv & pyenv
|
# Init rbenv & pyenv
|
||||||
command_exists "rbenv" && eval "$(rbenv init -)"
|
|
||||||
command_exists "pyenv" && eval "$(pyenv init -)"
|
|
||||||
command_exists "fasd" && eval "$(fasd --init auto)"
|
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
|
||||||
|
|
Loading…
Reference in a new issue