Home » Questions » Computers [ Ask a new question ]

Is there a way to make bash more TAB friendly?

Is there a way to make bash more TAB friendly?

I use bash on both my Mac and as my cygwin shell. Overall, I'm quite pleased with it.

Asked by: Guest | Views: 205
Total answers/comments: 1
Guest [Entry]

"To get the ‘cycle through possible completions’ behavior, copy the following into an appropriate place in your .bashrc file:

[[ $- = *i* ]] && bind TAB:menu-complete

Also, bash-completion provides many extra kinds of completion besides just pathname completion. For example, menu-complete works fine with Git's bash-completion module to complete command names, option names, etc."