# vim ~/.bashrc
if [[ $- == *i* ]]
then
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
fi
转载于:https://www.cnblogs.com/gaoyuanzhi/p/10436122.html
# vim ~/.bashrc
if [[ $- == *i* ]]
then
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
fi
转载于:https://www.cnblogs.com/gaoyuanzhi/p/10436122.html