edit #/etc/bash.bashrc
Added
----------------------------------------
----------------------------------------
bind 'C-b':backward-word
bind 'C-f':forward-word
bind 'C-w':backward-kill-word
bind '"\x1b\x5b\x41":history-search-backward'
bind '"\x1b\x5b\x42":history-search-forward'
export HISTFILESIZE=10000
export HISTSIZE=10000
---------------------------------------------
沒有留言:
張貼留言