`if [ pyenv deactivate --no-error --verbose ]` is not bourne shell compatible