stu*_*eek 79
您还可以使用bind -f ~/.inputrc
. 这将加载 .inputrc 中的条目。请注意,它只是加载,而不是“重新加载” - 因此它不会重置您碰巧从 .inputrc 中删除的任何行。
要从干净的平板上快速测试,只需运行bash
然后在新的嵌套 shell 中工作(或启动一个新终端)。
rof*_*rol 20
这对我有用
bind -f ~/.inputrc
https://unix.stackexchange.com/questions/153357/inputrc-file-not-sourcing-correctly/246422#246422
Ant*_*zzi 12
在 .inputrc 中首先选择你的绑定,然后绑定re-read-init-file
函数:
set editing-mode vi
"\C-x\C-r": re-read-init-file
Run Code Online (Sandbox Code Playgroud)
按下CTRL和x,同时松开,按下CTRL和r。