diff --git a/libexec/rbenv-init b/libexec/rbenv-init index 88f9e69c..8e6ee3d8 100755 --- a/libexec/rbenv-init +++ b/libexec/rbenv-init @@ -5,6 +5,17 @@ set -e [ -n "$RBENV_DEBUG" ] && set -x +# Provide rbenv completions +if [ "$1" = "--complete" ]; then + echo - + echo --no-rehash + echo bash + echo fish + echo ksh + echo zsh + exit +fi + print="" no_rehash="" for args in "$@"