]> arthur.barton.de Git - ConfigScripts.git/blobdiff - sys/bashrc
bashrc: Map up & down to history
[ConfigScripts.git] / sys / bashrc
index baf3c17b9879493d419f88227c94112864c2fd73..559cc8c54b85f96ce1d3ad8f18cd012de2c85dc0 100644 (file)
@@ -56,6 +56,10 @@ sshtmp() {
        ssh -o "StrictHostKeyChecking no" -o "UserKnownHostsFile /dev/null" "$@"
 }
 
+# Map up & down to history search once a command has been started
+bind '"\e[A":history-search-backward'
+bind '"\e[B":history-search-forward'
+
 # Colors
 case "$TERM" in
        ansi|cons25|cygwin|dtterm|linux|rxvt|screen*|vt100|vt200|vt220|vt320| \