diff --git a/bin/pyenv-activate b/bin/pyenv-activate index ef213c12..0f5d324b 100755 --- a/bin/pyenv-activate +++ b/bin/pyenv-activate @@ -22,10 +22,8 @@ fi { printf "\x1B[31;1m" echo - echo "Failed to activate virtualenv." - echo - echo "Perhaps pyenv-virtualenv has not been loaded into your shell properly." - echo "Please restart current shell and try again." + echo "\`pyenv activate' requires Pyenv and Pyenv-Virtualenv to be loaded into your shell." + echo "Check your shell configuration and Pyenv and Pyenv-Virtualenv installation instructions." echo printf "\x1B[0m" } 1>&2 diff --git a/bin/pyenv-deactivate b/bin/pyenv-deactivate index 7d9e1d79..e9e4660e 100755 --- a/bin/pyenv-deactivate +++ b/bin/pyenv-deactivate @@ -11,10 +11,8 @@ set -e { printf "\x1B[31;1m" echo - echo "Failed to deactivate virtualenv." - echo - echo "Perhaps pyenv-virtualenv has not been loaded into your shell properly." - echo "Please restart current shell and try again." + echo "\`pyenv deactivate' requires Pyenv and Pyenv-Virtualenv to be loaded into your shell." + echo "Check your shell configuration and Pyenv and Pyenv-Virtualenv installation instructions." echo printf "\x1B[0m" } 1>&2