Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
伙计们,
我使用了一组别名,让 zsh 询问我是否拼错了它并为我提供了替代方案,这很烦人。
我阅读了一些关于 git 自动完成的早期帖子,但我正在寻找的是从 .zshrc 引用的任何别名的通用自动完成。
蒂亚!
Use nocorrect to instruct zsh not to correct a given alias:
nocorrect
alias foobar="nocorrect foobar"
Source: ZSH Gem #4: Spell checking and auto correction