From d20c1fbbee8d978d64d71362c82ee854ebaa6a51 Mon Sep 17 00:00:00 2001 From: nojhan Date: Tue, 12 Mar 2013 11:29:35 +0100 Subject: [PATCH] Use up/down to search history matching the current line start --- .bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bashrc b/.bashrc index 60760c7..db4a225 100644 --- a/.bashrc +++ b/.bashrc @@ -118,6 +118,10 @@ function md() { } +# use up/down to search history, matching the current line start +bind '"\e[A": history-search-backward' +bind '"\e[B": history-search-forward' + ############# # Processes # #############