summaryrefslogtreecommitdiffstats
path: root/Completion/Base/_arguments
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-03 08:35:33 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-03 08:35:33 +0000
commitb5594215dd13afd833314e973358965f0cd7d60b (patch)
treeb684a861fd98d37e861a1c3a6eb45cf73bf9add7 /Completion/Base/_arguments
parentfix for completion of directories for zftp suite (11091) (diff)
downloadzsh-b5594215dd13afd833314e973358965f0cd7d60b.tar
zsh-b5594215dd13afd833314e973358965f0cd7d60b.tar.gz
zsh-b5594215dd13afd833314e973358965f0cd7d60b.tar.bz2
zsh-b5594215dd13afd833314e973358965f0cd7d60b.tar.lz
zsh-b5594215dd13afd833314e973358965f0cd7d60b.tar.xz
zsh-b5594215dd13afd833314e973358965f0cd7d60b.tar.zst
zsh-b5594215dd13afd833314e973358965f0cd7d60b.zip
make sure that completion messages are displayed even when there are no matches (11092)
Diffstat (limited to 'Completion/Base/_arguments')
-rw-r--r--Completion/Base/_arguments2
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