mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-13 22:03:52 -05:00
Extract rbenv-shims
This commit is contained in:
@@ -4,10 +4,7 @@ set -e
|
||||
|
||||
# Provide rbenv completions
|
||||
if [ "$1" = "--complete" ]; then
|
||||
for command in "${RBENV_ROOT}/shims/"*; do
|
||||
echo "${command##*/}"
|
||||
done
|
||||
exit
|
||||
exec rbenv shims --short
|
||||
fi
|
||||
|
||||
RBENV_COMMAND="$1"
|
||||
|
||||
Reference in New Issue
Block a user