tssci security

Bash Tab Completion with Similar Filenames Sucks

Add this to your .bashrc to make tab completion with bash more useful when handling multiple files with similar names:

bind '"\t":menu-complete'

Ctrl-D can be used to exit Bash. This can be very convenient and then again, almost too convenient. Specify it must be pressed twice before exiting by adding to .bashrc:

export IGNOREEOF=1

Posted by Casey on Thursday, August 23, 2007 in Linux.

blog comments powered by Disqus
blog comments powered by Disqus