mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-18 08:23:43 -05:00
need to use functions -q to check existence of the function in fish (#136)
This commit is contained in:
@@ -162,7 +162,7 @@ esac
|
||||
case "${shell}" in
|
||||
fish )
|
||||
cat <<EOS
|
||||
if functions -g deactivate;
|
||||
if functions -q deactivate;
|
||||
functions -e deactivate;
|
||||
end;
|
||||
EOS
|
||||
|
||||
Reference in New Issue
Block a user