diff options
Diffstat (limited to 'Completion/Base/_arguments')
-rw-r--r-- | Completion/Base/_arguments | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments index 258b56b3a..ddd9d4c06 100644 --- a/Completion/Base/_arguments +++ b/Completion/Base/_arguments @@ -254,7 +254,7 @@ if (( $# )) && comparguments -i "$autod" "$@"; then fi fi - if [[ -z "$matched$mesg" ]] && _requested options && + if [[ -z "$matched" ]] && _requested options && { ! zstyle -t ":completion:${curcontext}:options" prefix-needed || [[ "$origpre" = [-+]* || ( -z "$aret$mesg" && nm -eq compstate[nmatches] ) ]] } ; then |