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
No comments:
Post a Comment