Bash history
From Null-pointer
This allows you to auto complete command line commands with previous used commands using the up and down arrow keys.
Place in the .bash_profile[1]
export HISTCONTROL=erasedups export HISTSIZE=10000
history-search-backward
Put this in your .inputrc [2]
"\e[A": history-search-backward "\e[B": history-search-forward
See also
Commands For Manipulating The History
References
- ↑ (19 Oct 2008). "Customizing The Mac Terminal Bash Prompt" Retrieved 5 Jan 2011.
- ↑ Mike Austin. (6 Mar 2007). "history-search-backward" Retrieved 5 Jan 2011.

