在 zsh 中,如何将键盘快捷键绑定到函数?
换句话说,我如何翻译:
重击:
hw(){ echo "hello world"; } bind -x '"\C-h": hw;'
去zsh?
keyboard-shortcuts zsh
keyboard-shortcuts ×1
zsh ×1