Selaa lähdekoodia

add completion block for rbenv-help

pull/487/head^2
Jason Karns 10 vuotta sitten
vanhempi
commit
8c3cab61c7
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. +7
    -0
      libexec/rbenv-help

+ 7
- 0
libexec/rbenv-help Näytä tiedosto

@ -15,6 +15,13 @@
set -e
[ -n "$RBENV_DEBUG" ] && set -x
# Provide rbenv completions
if [ "$1" = "--complete" ]; then
echo --usage
rbenv-commands
exit
fi
command_path() {
local command="$1"
command -v rbenv-"$command" || command -v rbenv-sh-"$command" || true

Ladataan…
Peruuta
Tallenna