We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca8d65b commit eca830dCopy full SHA for eca830d
1 file changed
src/zsh.ts
@@ -48,7 +48,7 @@ _${name}() {
48
49
# Prepare the command to obtain completions, ensuring arguments are quoted for eval
50
local -a args_to_quote=("\${(@)words[2,-1]}")
51
- if [ "\${lastChar}" = "" ]; then
+ if [ "\${lastChar}" = "" ] && [ "\${args_to_quote[-1]}" != "" ]; then
52
# If the last parameter is complete (there is a space following it)
53
# We add an extra empty parameter so we can indicate this to the go completion code.
54
__${name}_debug "Adding extra empty parameter"
0 commit comments