Quellcode durchsuchen

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

check-usage-before-uninstall
Yamashita Yuu vor 10 Jahren
Ursprung
Commit
a958640776
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. +6
    -0
      bin/pyenv-activate

+ 6
- 0
bin/pyenv-activate Datei anzeigen

@ -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."

Laden…
Abbrechen
Speichern