Add rbenv-commands
This commit is contained in:
parent
df034f5d35
commit
3b13dc9c14
11
libexec/rbenv-commands
Executable file
11
libexec/rbenv-commands
Executable 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…
x
Reference in New Issue
Block a user