1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-13 05:43:53 -05:00

Add rbenv-commands

This commit is contained in:
Sam Stephenson
2011-08-03 22:20:01 -05:00
parent df034f5d35
commit 3b13dc9c14

11
libexec/rbenv-commands Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash -e
shopt -s nullglob
{ for path in ${PATH//:/$'\n'}; do
for command in "${path}/rbenv-"*; do
echo "${command##*rbenv-}"
done
done
} | sort | uniq