mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-09 12:03:49 -05:00
Do not quote completions in $reply
With an empty list of completions, zsh would complete a space / advance the cursor by a space when completing.
This commit is contained in:
@@ -14,5 +14,5 @@ _pyenv() {
|
|||||||
completions="$(pyenv completions ${words[2,-2]})"
|
completions="$(pyenv completions ${words[2,-2]})"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
reply=("${(ps:\n:)completions}")
|
reply=(${(ps:\n:)completions})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user