aboutsummaryrefslogtreecommitdiff
path: root/Completion/Base/_brace_parameter
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base/_brace_parameter')
-rw-r--r--Completion/Base/_brace_parameter2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Base/_brace_parameter b/Completion/Base/_brace_parameter
index f688e175a..5993aecba 100644
--- a/Completion/Base/_brace_parameter
+++ b/Completion/Base/_brace_parameter
@@ -16,4 +16,6 @@ ls="$RBUFFER[${#SUFFIX}+1,-1]"
n=${(M)#ls##\"#}
q=${(M)lp%%\"#}
+[[ n -gt 0 ]] && suf=''
+
_parameters -s "${q[1,-n-1]}" -S "$suf" -r '-:?#%+=[/'