summaryrefslogtreecommitdiffstats
path: root/Src
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2002-01-07 14:43:40 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2002-01-07 14:43:40 +0000
commitba968d10de8be0c8dcef4e652dd97e25fc495553 (patch)
treefd686a986c5991485bc5aae4352feeded80480c8 /Src
parentfix nested _tags-loops by re-initialising the outer one when leaving the inne... (diff)
downloadzsh-ba968d10de8be0c8dcef4e652dd97e25fc495553.tar
zsh-ba968d10de8be0c8dcef4e652dd97e25fc495553.tar.gz
zsh-ba968d10de8be0c8dcef4e652dd97e25fc495553.tar.bz2
zsh-ba968d10de8be0c8dcef4e652dd97e25fc495553.tar.lz
zsh-ba968d10de8be0c8dcef4e652dd97e25fc495553.tar.xz
zsh-ba968d10de8be0c8dcef4e652dd97e25fc495553.tar.zst
zsh-ba968d10de8be0c8dcef4e652dd97e25fc495553.zip
make sure auto menu isn't started accidentially when bashautolist is set (16408)
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/compcore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c
index 8127fcd5d..7db5ffd13 100644
--- a/Src/Zle/compcore.c
+++ b/Src/Zle/compcore.c
@@ -842,7 +842,8 @@ callcompfunc(char *s, char *fn)
}
startauto = ((compinsert &&
!strcmp(compinsert, "automenu-unambiguous")) ||
- (bashlistfirst && (!compinsert || !*compinsert)));
+ (bashlistfirst && isset(AUTOMENU) &&
+ (!compinsert || !*compinsert)));
useexact = (compexact && !strcmp(compexact, "accept"));
if (!comptoend || !*comptoend)