mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-13 13:53:53 -05:00
Add rbenv-commands
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user