summaryrefslogtreecommitdiff
path: root/Src/Zle/compresult.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/compresult.c')
-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)) &&