bash-it/completion/available/history.completion.bash

4 lines
110 B
Bash

if [ -n "$PS1" ]; then
bind '"\C-[[A": history-search-backward'
bind '"\C-[[B": history-search-forward'
fi