about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-07-27 07:25:07 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-07-27 07:25:07 +0000
commit97a345de50e45990980027ea71f1d0e8f2658ec6 (patch)
tree7582328bd695878d2888df05d5f2e7d48faa1c71
parent07f5680abbb3b605651fe321dfae1e2488140b12 (diff)
downloadzsh-97a345de50e45990980027ea71f1d0e8f2658ec6.tar.gz
zsh-97a345de50e45990980027ea71f1d0e8f2658ec6.tar.xz
zsh-97a345de50e45990980027ea71f1d0e8f2658ec6.zip
don't hide possible completions if there is only one and at the same time messages are shown (12394)
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Core/_main_complete2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fce508dfb..03a81f8d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-07-27  Sven Wischnowsky  <wischnow@zsh.org>
+
+	* 12394: Completion/Core/_main_complete: don't hide possible
+ 	completions if there is only one and at the same time messages are
+ 	shown
+	
 2000-07-26  Adam Spiers  <adam@spiers.net>
 
 	* unposted: Completion/User/_perl: -e, -I, -m and -M parameters
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete
index ee15a4b65..9b0972ca2 100644
--- a/Completion/Core/_main_complete
+++ b/Completion/Core/_main_complete
@@ -266,7 +266,7 @@ if [[ $compstate[old_list] = keep || nm -gt 1 ]]; then
   fi
 elif [[ nm -le 1 && -n "$_comp_mesg" ]]; then
   compstate[insert]=''
-  compstate[list]='list force messages'
+  compstate[list]='list force'
 elif [[ nm -eq 0 && -z "$_comp_mesg" &&
         $#_lastdescr -ne 0 && $compstate[old_list] != keep ]] &&
      zstyle -s ":completion:${curcontext}:warnings" format format; then