如何清除 zsh 自动完成的缓存。
例如如果我这样做:
> apt-get install rubygems
> gem
zsh: correct 'gem' to 'gdm' [nyae]? % n
RubyGems is a sophisticated package manager for Ruby. This is a
basic help message containing pointers to more information.
...
我怎样才能避免“将‘gem’更正为‘gdm’”这一部分?
答案1
我认为答案在于哈希之类的东西。有关更多信息,请参阅此 StackOverflow 答案。
https://stackoverflow.com/questions/3437454/zsh-questioning-correct-command-how-to-stop