From 0713dfcd1a1513d17d63eddaa8954f839ea5fefe Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 10 Apr 2000 08:06:38 +0000 Subject: fix for bashautolist+automenu (10609) --- Src/Zle/compcore.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Src/Zle/compcore.c') diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index 2a9ebbaa5..e40873764 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -776,8 +776,9 @@ callcompfunc(char *s, char *fn) } } } - startauto = (compinsert && - !strcmp(compinsert, "automenu-unambiguous")); + startauto = ((compinsert && + !strcmp(compinsert, "automenu-unambiguous")) || + (bashlistfirst && (!compinsert || !*compinsert))); useexact = (compexact && !strcmp(compexact, "accept")); if (!comptoend || !*comptoend) -- cgit v1.2.3