diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-03 08:35:33 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-03 08:35:33 +0000 |
commit | b5594215dd13afd833314e973358965f0cd7d60b (patch) | |
tree | b684a861fd98d37e861a1c3a6eb45cf73bf9add7 /Completion | |
parent | 7a83e27a6e4e4dfb606160ef1a179563f977b5fd (diff) | |
download | zsh-b5594215dd13afd833314e973358965f0cd7d60b.tar.gz zsh-b5594215dd13afd833314e973358965f0cd7d60b.tar.xz zsh-b5594215dd13afd833314e973358965f0cd7d60b.zip |
make sure that completion messages are displayed even when there are no matches (11092)
Diffstat (limited to 'Completion')
-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 38002ccf6..cab1f778a 100644 --- a/Completion/Base/_arguments +++ b/Completion/Base/_arguments @@ -363,7 +363,7 @@ if (( $# )) && comparguments "$multi[@]" "$autod" "$@"; then [[ -n "$mesg" ]] && _message "$mesg" if [[ -n "$noargs" ]]; then - [[ -z "$ismulti" ]] && _message "$noargs" + [[ -z "$ismulti" && nm -eq "$compstate[nmatches]" ]] && _message "$noargs" else has_args=yes fi |