每次我在我的一台机器上打开一个新的shell时,我都会看到这个警告:
Oh My Zsh brew plugin:
With the advent of their 1.0 release, Homebrew has decided to bundle
the zsh completion as part of the brew installation, so we no longer
ship it with the brew plugin; now it only has brew aliases.
If you find that brew completion no longer works, make sure you have
your Homebrew installation fully up to date.
You will only see this message once.
消息一直在回来,即使它威胁到“你只能看到这个消息一次”。
关于如何“修复”这个的想法?它 似乎被触发了 通过 mkdir
别名?!?
不知道的
—
Meltemi
-x
旗。这让我成了罪魁祸首,特别指出了这个罪魁祸首 brew
我的插件 zshrc
文件。删除它,现在一切都很好。我会在几天内删除这篇文章(如果我记得的话),除非你想草拟答案,在这种情况下我会给你一个金星。谢谢!
zsh -x
(或者可能zsh -x -l
)显示正在运行的代码?