1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-15 14:53:53 -05:00

Completions for global, local, prefix, shell

This commit is contained in:
Sam Stephenson
2011-09-13 12:38:34 -05:00
parent 43520db389
commit f1ca8906c0
4 changed files with 18 additions and 1 deletions

View File

@@ -2,6 +2,12 @@
set -e
[ -n "$RBENV_DEBUG" ] && set -x
# Provide rbenv completions
if [ "$1" = "--complete" ]; then
echo system --unset
exec rbenv-versions --bare
fi
version="$1"
if [ -z "$version" ]; then