Kaynağa Gözat

Merge pull request #215 from blueyed/fix-zsh-completion

Fix zsh completion with multiple words
pull/220/head
Yamashita, Yuu 10 yıl önce
ebeveyn
işleme
f9053406c2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      completions/pyenv.zsh

+ 1
- 1
completions/pyenv.zsh Dosyayı Görüntüle

@ -11,7 +11,7 @@ _pyenv() {
if [ "${#words}" -eq 2 ]; then
completions="$(pyenv commands)"
else
completions="$(pyenv completions "${words[2,-2]}")"
completions="$(pyenv completions ${words[2,-2]})"
fi
reply=("${(ps:\n:)completions}")

Yükleniyor…
İptal
Kaydet