我想禁用一项功能。但是 Zsh 忽略了我输入的设置:
> bind
zsh: correct 'bind' to 'find' [nyae]? n
zsh: command not found: bind
> setopt nocorrectall
> bind
zsh: correct 'bind' to 'find' [nyae]? n
zsh: command not found: bind
> unsetopt correctall
> bind
zsh: correct 'bind' to 'find' [nyae]? n
zsh: command not found: bind
如何正确使用这些?
答案1
看来我使用了错误的命令。其中任一方法可以解决该问题:
setopt nocorrect
unsetopt correct