diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-10 08:06:38 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-10 08:06:38 +0000 |
commit | 0713dfcd1a1513d17d63eddaa8954f839ea5fefe (patch) | |
tree | 9552dcdfeffdd37bb76a0fcb01661ee6015091f6 /Src/Zle/compcore.c | |
parent | f7a6aa096aa333f7274be219b92540d09dba1eb7 (diff) | |
download | zsh-0713dfcd1a1513d17d63eddaa8954f839ea5fefe.tar.gz zsh-0713dfcd1a1513d17d63eddaa8954f839ea5fefe.tar.xz zsh-0713dfcd1a1513d17d63eddaa8954f839ea5fefe.zip |
fix for bashautolist+automenu (10609)
Diffstat (limited to 'Src/Zle/compcore.c')
-rw-r--r-- | Src/Zle/compcore.c | 5 |
1 files changed, 3 insertions, 2 deletions
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) |