Kaynağa Gözat

add completion block for rbenv-help

pull/487/head^2
Jason Karns 10 yıl önce
ebeveyn
işleme
8c3cab61c7
1 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  1. +7
    -0
      libexec/rbenv-help

+ 7
- 0
libexec/rbenv-help Dosyayı Görüntüle

@ -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

Yükleniyor…
İptal
Kaydet