mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 04:23:47 -05:00
Completion for whence
This commit is contained in:
@@ -2,6 +2,12 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$RBENV_DEBUG" ] && set -x
|
[ -n "$RBENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
|
# Provide rbenv completions
|
||||||
|
if [ "$1" = "--complete" ]; then
|
||||||
|
echo --path
|
||||||
|
exec rbenv shims --short
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$1" = "--path" ]; then
|
if [ "$1" = "--path" ]; then
|
||||||
print_paths="1"
|
print_paths="1"
|
||||||
shift
|
shift
|
||||||
|
|||||||
Reference in New Issue
Block a user