pyenv/libexec/rbenv-commands
2011-08-03 22:20:01 -05:00

11 lines
185 B
Bash
Executable file

#!/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