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