diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-15 17:35:20 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-15 17:35:20 +0000 |
commit | 8bc41ba869dbbd3c6bc2c8f2338c740311074f23 (patch) | |
tree | d595aeb0a5e399d4cb6a7dfd3818c395e9118ec0 /Completion/Base/_arguments | |
parent | e401df24821d873eba579d2961a0886881b0acf6 (diff) | |
download | zsh-8bc41ba869dbbd3c6bc2c8f2338c740311074f23.tar.gz zsh-8bc41ba869dbbd3c6bc2c8f2338c740311074f23.tar.xz zsh-8bc41ba869dbbd3c6bc2c8f2338c740311074f23.zip |
manual/9058
Diffstat (limited to 'Completion/Base/_arguments')
-rw-r--r-- | Completion/Base/_arguments | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments index 16293a098..5a6ee1930 100644 --- a/Completion/Base/_arguments +++ b/Completion/Base/_arguments @@ -259,7 +259,8 @@ if (( $# )) && comparguments -i "$autod" "$@"; then if [[ -z "$matched" ]] && _requested options && { ! zstyle -t ":completion${curcontext}:options" prefix-needed || - [[ "$origpre" = [-+]* ]] } ; then + [[ "$origpre" = [-+]* || + ( -z "$aret$mesg" && nm -eq compstate[nmatches] ) ]] } ; then local prevpre="$PREFIX" previpre="$IPREFIX" PREFIX="$origpre" |