completions for rbenv-init

This commit is contained in:
Jason Karns 2015-11-20 09:20:01 -05:00
parent a6cb4b6317
commit 2dcb9d0611

View file

@ -5,6 +5,17 @@
set -e set -e
[ -n "$RBENV_DEBUG" ] && set -x [ -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="" print=""
no_rehash="" no_rehash=""
for args in "$@" for args in "$@"