centos 历史命令模糊匹配
参考文章
https://blog.csdn.net/evane1890/article/details/112863698
操作步骤
vi ~/.bashrc
在文件末尾新增一下内容
if [[ $- == *i* ]]
then
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
fi
// 配置文件生效
source ~/.bashrc

浙公网安备 33010602011771号