Hide output from declare -f deactivate

This commit is contained in:
Yamashita Yuu
2014-01-17 22:39:37 +09:00
parent 08951ea22d
commit f9d3984909

View File

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