1
0
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:
Sam Stephenson
2011-09-13 12:55:19 -05:00
parent 69d596f56f
commit 61830048d5
2 changed files with 18 additions and 4 deletions

View File

@@ -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"