mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-18 00:13:43 -05:00
need to use functions -q to check existence of the function in fish (#136)
This commit is contained in:
@@ -77,7 +77,7 @@ if [ -n "\$_OLD_VIRTUAL_PYTHONHOME" ];
|
||||
setenv PYTHONHOME "\$_OLD_VIRTUAL_PYTHONHOME";
|
||||
set -e _OLD_VIRTUAL_PYTHONHOME;
|
||||
end;
|
||||
if functions -g deactivate;
|
||||
if functions -q deactivate;
|
||||
functions -e deactivate;
|
||||
end;
|
||||
EOS
|
||||
|
||||
Reference in New Issue
Block a user