pyenv/libexec/rbenv-commands

12 lines
185 B
Text
Raw Normal View History

2011-08-04 03:20:01 +00:00
#!/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