我知道在 5.x 系列的某个时刻,MySQL的 shell从 切换readline
到。editline
我似乎找不到任何关于如何在我的设置中进行历史搜索的参考资料。
macos: Ventura 13.2.1
shell: zsh
mysql: 8.0.32
iTerm2: 3.4.19
我尝试~/.editrc
按如下方式配置我的:
bind "^c" ed-search-prev-history
但是Ctrl+r在 shell 中不做任何事情mysql
。
我错过了什么?
我也在 MacOS 上,我不得不将这一行添加到
$HOME/.editrc
: