mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-08 11:33:49 -05:00
completions for rbenv-completions
This commit is contained in:
@@ -10,6 +10,11 @@ if [ -z "$COMMAND" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Provide rbenv completions
|
||||||
|
if [ "$COMMAND" = "--complete" ]; then
|
||||||
|
exec rbenv-commands
|
||||||
|
fi
|
||||||
|
|
||||||
COMMAND_PATH="$(command -v "rbenv-$COMMAND" || command -v "rbenv-sh-$COMMAND")"
|
COMMAND_PATH="$(command -v "rbenv-$COMMAND" || command -v "rbenv-sh-$COMMAND")"
|
||||||
|
|
||||||
# --help is provided automatically
|
# --help is provided automatically
|
||||||
|
|||||||
Reference in New Issue
Block a user