I switched to zsh, but I dislike the completion. If I have 20 files, each with a shared prefix, on pressing tab, zsh will fully complete the first file, then continue going through the list with each press of tab. If I want one near the end, I would have to press tab many times.

In bash, this was simple - press tab and I would get the prefix. If I continued typing (and pressing tab), bash would complete as far as it could be certain of. I find this behavior to be much more intuitive but prefer the other features of zsh to bash.

Is there a way to get this style of completion? Google suggested setopt bash_autolist, but this had no effect for me (and no error message was printed upon starting my shell).

Thanks.

link|improve this question
feedback

2 Answers

up vote 4 down vote accepted

Try:

setopt autolist
unsetopt menucomplete
link|improve this answer
Works pretty well, not exactly the same but it's definitely something I can get used to. Thanks a lot! – nsm Jun 2 '10 at 23:39
feedback

What you want is probably this:

setopt noautomenu
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.