pyenv/libexec/rbenv-commands

13 lines
189 B
Text
Raw Normal View History

#!/usr/bin/env bash
set -e
2011-08-03 23:20:01 -04:00
shopt -s nullglob
{ for path in ${PATH//:/$'\n'}; do
for command in "${path}/rbenv-"*; do
echo "${command##*rbenv-}"
done
done
} | sort | uniq