stty -ixon # enable Ctrl + s search forward not to freeze Ctrl + q to unfreeze
bind '"\e[A": history-search-backward' # it enables type the beginnig of command and go up and down
bind '"\e[B": history-search-foward' # in the history containing that begginig
nao salvar commandos duplicados no history
export HISTCONTROL=erasedups
Este é um blog onde anoto dicas técnicas de informática e computação. This is a blog where I write down technical tips on computing. Be aware that some resources used in this blog may use cookies to collect information used by Ads and Google Analytics. I do not monetize from this website, neither require or use personal information.
Friday, March 4, 2016
Useful bashrc shell History Search setup
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment