mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 17:23:37 +00:00
Add rbenv-commands
This commit is contained in:
parent
df034f5d35
commit
3b13dc9c14
1 changed files with 11 additions and 0 deletions
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…
Reference in a new issue