mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 19:13:40 +00:00
completions for rbenv-completions
This commit is contained in:
parent
d1f8081d1c
commit
2f917312f1
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,11 @@ if [ -z "$COMMAND" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Provide rbenv completions
|
||||
if [ "$COMMAND" = "--complete" ]; then
|
||||
exec rbenv-commands
|
||||
fi
|
||||
|
||||
COMMAND_PATH="$(command -v "rbenv-$COMMAND" || command -v "rbenv-sh-$COMMAND")"
|
||||
|
||||
# --help is provided automatically
|
||||
|
|
Loading…
Reference in a new issue