Fixing my #1 bash annoyance
Ever open up a Terminal window and hit Tab and Bash sits for a few seconds until it finally comes back and asks
Display all 2224 possibilities? (y or n)
Because it went and compiled a list of EVERY executable you could possibly want to execute?
Yeah, me, too, and I hate it. The fix is simple. Add this to your ~/.bashrc
shopt -s no_empty_cmd_completion
No more completion on nothing!
My prompt shows more possibilities. :p
Maybe the problem is that the history file was not updated while logout. You could try adding the .bash_logout file and the line:
"history > .bash_history" in this file.