revert back fish fix

Should be separate PR to deal with fish perf issue
This commit is contained in:
Zoltán Reegn 2023-04-12 10:15:19 +02:00
parent dec191e836
commit d08294471e

View file

@ -104,7 +104,7 @@ esac
case "$shell" in
fish )
cat <<EOS
function _pyenv_virtualenv_hook --on-variable PWD;
function _pyenv_virtualenv_hook --on-event fish_prompt;
set -l ret \$status
if [ -n "\$VIRTUAL_ENV" ]
pyenv activate --quiet; or pyenv deactivate --quiet; or true