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/compresult.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/compresult.c')
-rw-r--r-- | Src/Zle/compresult.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 0d93b8727..6870bbcd9 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -665,7 +665,9 @@ do_ambiguous(void) * prefix was inserted, return now, bypassing the list-displaying * * code. On the way, invalidate the list and note that we don't * * want to enter an AUTO_MENU imediately. */ - if (uselist == 3 && la) { + if ((uselist == 3 || + (!uselist && isset(BASHAUTOLIST) && isset(LISTAMBIGUOUS))) && + la) { int fc = fromcomp; invalidatelist(); |