Browse Source

Add rbenv-commands

pull/360/head^2
Sam Stephenson 15 years ago
parent
commit
3b13dc9c14
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      libexec/rbenv-commands

+ 11
- 0
libexec/rbenv-commands 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

Loading…
Cancel
Save