How do I make zsh completion act more like bash completion?

Posted by Tordek on Server Fault See other posts from Server Fault or by Tordek
Published on 2010-05-30T10:38:46Z Indexed on 2010/05/30 10:44 UTC
Read the original article Hit count: 238

Filed under:
|
|

I'm a recent convert from bash to zsh (which I'm using "oh my zsh" with), but one thing annoys me:

When I hit the tab key, the first autocompletion is filled out automatically, and you need to cycle through the completions by hitting tab repeatedly.

This differs from bash, where you are just shown a list of the completions. If all completions have the same prefix, then this prefix is filled out. You can select the one you want by continuing to type.

I find the latter preferable since it is faster to type, than to select a completion by hitting tab repeatedly.

Is there any way to make zsh completion act more like bash in this regard?

© Server Fault or respective owner

Related posts about bash

Related posts about zsh