mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-23 00:10:48 +00:00
completions for rbenv-init
This commit is contained in:
parent
a6cb4b6317
commit
2dcb9d0611
1 changed files with 11 additions and 0 deletions
|
@ -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 "$@"
|
||||||
|
|
Loading…
Reference in a new issue