29
12
I'm using bash, but I'd like to have zsh style autocomplete (you hit tab and it tabs through the possibilities), rather than what bash seems to do, which is display a list of possibilities but not choose anything until I type some more to disambiguate. How can I get zsh type behavior in bash?
Searching for a solution has turned up lots of answers to other questions, so I'm hoping I can get a simple answer here (i.e. what to paste into my .bashrc
).
(And to answer the obvious question, I need to use bash here because I just joined a team and they do some stuff to set up bash to make the environment easier to work in. I can probably eventually make sure I have it working the same way in zsh, but for now it's easier if I use bash and just get it behaving more like zsh during interactive use.)
11When I add this to my .bashrc, tab cycles through the possible options rather than listing them in the terminal. Is is possible to get both behaviors? – Antonios Hadjigeorgalis – 2014-08-17T13:08:31.823
For
Shitf-Tab
to complete backwards, usebind '"\e[Z":menu-complete-backward'
. – Ainar-G – 2019-11-15T10:54:06.893