Moved arrow-keys-search-history from lib to available plugins

pull/365/head
Peter Daly-Dickson 2014-11-07 13:50:34 +00:00
parent 5a7476a774
commit 61e52883f7
2 changed files with 4 additions and 5 deletions

View File

@ -15,11 +15,6 @@ export HISTSIZE=5000
export AUTOFEATURE=true autotest
# enter a few characters and press UpArrow/DownArrow
# to search backwards/forwards through the history
bind '"":history-search-backward'
bind '"":history-search-forward'
function rh {
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
}

View File

@ -0,0 +1,4 @@
# enter a few characters and press UpArrow/DownArrow
# to search backwards/forwards through the history
bind '"":history-search-backward'
bind '"":history-search-forward'