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 # #############