diff --git a/zshrc b/zshrc index 59070578..655572b7 100644 --- a/zshrc +++ b/zshrc @@ -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