From 4f688a32c1ed75cb59f3bbf9dfe5e8a6d7aa4fa1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 24 Aug 2014 06:31:21 -0400 Subject: [PATCH] rbenv: don't rehash on login. pyenv: fix PATH --- zshrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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