I'd like for bash to rotate through the matching file names instead of listing them, like the default tab completion behavior in vim. Is there an easy command to do this? This is essentially the opposite of this question.
Map Tab to menu-complete
.
In your ~/.inputrc
:
"\C-i": menu-complete
Re-read the file to make it effective in the current shell by pressing Ctrl-x Ctrl-r.
You can use the following command at a command prompt to enable the feature for the current session if you'd like to test it without editing the ~/.inputrc
file, for example.
bind '"\C-i" menu-complete'
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments