From c2eab39779035939af9a1a8df382e683a1f54e5d Mon Sep 17 00:00:00 2001 From: YounShin Kang Date: Thu, 16 Feb 2017 15:36:42 +0900 Subject: [PATCH] Impove start up time based on https://github.com/robbyrussell/oh-my-zsh/commit/0ed1adeaadfc03a5abb767df5ad76a1ddd2d7c69 --- plugins/pyenv/pyenv.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pyenv/pyenv.plugin.zsh b/plugins/pyenv/pyenv.plugin.zsh index 58b00f857..5fd3bb601 100644 --- a/plugins/pyenv/pyenv.plugin.zsh +++ b/plugins/pyenv/pyenv.plugin.zsh @@ -14,7 +14,7 @@ for pyenvdir in "${pyenvdirs[@]}" ; do FOUND_PYENV=1 export PYENV_ROOT=$pyenvdir export PATH=${pyenvdir}/bin:$PATH - eval "$(pyenv init - zsh)" + eval "$(pyenv init --no-rehash - zsh)" if pyenv commands | command grep -q virtualenv-init; then eval "$(pyenv virtualenv-init - zsh)"