Fix broken setenv in pyenv-virtualenv-init

This commit is contained in:
Yamashita Yuu
2014-06-30 21:35:43 +09:00
parent 763696b3fb
commit 7079cbe979
2 changed files with 41 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ EOS
;;
fish )
cat <<EOS
setenv PYENV_VIRTUALENV_INIT=1;
setenv PYENV_VIRTUALENV_INIT 1;
function _pyenv_virtualenv_hook --on-event fish_prompt;
if [ (pyenv version-name) = "system" ]
eval (pyenv sh-deactivate); or true