Loading

ctrl+s bash历史记录反向查找设置 bash ctrl+r 向前搜索历史记录,如何向后搜索?

默认是ctrl + s 但会与终端停止响应的快捷键冲突,但可以禁止终端的ctrl+s,在.bashrc或.bash_profile加入以下内容:

stty -ixon

https://stackoverflow.com/questions/791765/unable-to-forward-search-bash-history-similarly-as-with-ctrl-r

posted @ 2020-06-20 22:56  wswind  阅读(461)  评论(0编辑  收藏  举报