Search through terminal history with up and down keys in OS X Lion After I upgraded to OS X I am not able to use my ~/.inputrc bindings to search through the shell command history:

# these allow you to start typing a command and
# use the up/down arrow to auto complete from
# commands in your history
"\e[B": history-search-forward
"\e[A": history-search-backward


Any idea what I have to change or do? Are there any default keys for that I could use?
The up/down history scrolling in Terminal only works in bash, not sh. Try typing bash in Terminal, and see whether the arrow keys work. If this is the case, you can go to preferences and set your default login shell to /bin/bash.