diff --git a/bin/pyenv-sh-deactivate b/bin/pyenv-sh-deactivate index 7c1171d..6c81115 100755 --- a/bin/pyenv-sh-deactivate +++ b/bin/pyenv-sh-deactivate @@ -30,7 +30,7 @@ done shell="$(basename "${PYENV_SHELL:-$SHELL}")" case "$shell" in fish ) - echo "if functions -q deactivate" + echo "if functions -q deactivate;" ;; * ) echo "if declare -f deactivate 1>/dev/null 2>&1; then" diff --git a/test/deactivate.bats b/test/deactivate.bats index b44c5ca..7929ff2 100644 --- a/test/deactivate.bats +++ b/test/deactivate.bats @@ -110,7 +110,7 @@ EOS assert_success assert_output <