From 2dcb9d0611d5e1d69c5093068dbd8503897edd1d Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Fri, 20 Nov 2015 09:20:01 -0500 Subject: [PATCH] completions for rbenv-init --- libexec/rbenv-init | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 "$@"