I would like to fill out a command which expects a file argument, by alternating the files in the current directory. So I followed Gilles' reply
Bind the Tab key to the
menu-completecommand instead of the default
complete. Put the following line in your
bind '"\C-i": menu-complete'
"\C-i" represent the Tab key? Where is this specified? I thought
After I run the command
bind '"\C-i": menu-complete', the Tab key doesn't seem to work for any purpose (including any kind of auto completion) in bash.
Do I miss understand the purpose of the command?
How can I undo the command, i.e. make the Tab key work for the default style of auto completion again? For recovery, I have run the following commands, some by accident, and none of them seem to work for recovery:
bind -u 'menu-complete' bind -u 'complete' bind '"TAB": complete' bind '"\TAB": complete'