Ver código fonte

Fix completion of `pyenv activate` (fixes #15)

check-usage-before-uninstall
Yamashita Yuu 10 anos atrás
pai
commit
a958640776
1 arquivos alterados com 6 adições e 0 exclusões
  1. +6
    -0
      bin/pyenv-activate

+ 6
- 0
bin/pyenv-activate Ver arquivo

@ -14,6 +14,12 @@
set -e
[ -n "$PYENV_DEBUG" ] && set -x
# Provide pyenv completions
if [ "$1" = "--complete" ]; then
echo --unset
exec pyenv-virtualenvs --bare
fi
{ printf "\x1B[31;1m"
echo
echo "Failed to activate virtualenv."

Carregando…
Cancelar
Salvar