about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-03-27 09:14:50 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-03-27 09:14:50 +0000
commit6d72dca54fbbf3e86807502288ace649f5fbe05c (patch)
tree92fac1ca5f8121f253fbe77662c1a3fd2d4bef08 /Src/Zle
parentb0176cb54f2a7fdde6e4226e0691c88c1674af34 (diff)
downloadzsh-6d72dca54fbbf3e86807502288ace649f5fbe05c.tar.gz
zsh-6d72dca54fbbf3e86807502288ace649f5fbe05c.tar.xz
zsh-6d72dca54fbbf3e86807502288ace649f5fbe05c.zip
try to make _h_c_w smarter at the beginning and end of the list; avoid list-beeping if the old completion list is re-used (3752)
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/compresult.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c
index 9b85948f9..74bc577e7 100644
--- a/Src/Zle/compresult.c
+++ b/Src/Zle/compresult.c
@@ -822,7 +822,7 @@ do_ambiguous(void)
 
     /* At this point, we might want a completion listing.  Show the listing *
      * if it is needed.                                                     */
-    if (isset(LISTBEEP))
+    if (isset(LISTBEEP) && !oldlist)
 	ret = 1;
 
     if (uselist && (usemenu != 2 || (!listshown && !oldlist)) &&