Repaired virtualenv activation and deactivation for the fish shell

This commit is contained in:
Fotis Gimian
2014-05-31 12:29:19 +10:00
parent 3f5171e2fc
commit f7da0c5808
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ set -e
shell="$(basename "${PYENV_SHELL:-$SHELL}")"
case "$shell" in
fish ) echo "functions -q deactivate; and deactivate";;
fish ) echo "functions -q deactivate; and deactivate;";;
* ) echo "declare -f deactivate 1>/dev/null 2>&1 && deactivate";;
esac
echo "pyenv shell --unset"