基于目录的ZSH完成,仅在执行ZSH之后才能工作。
例如,当我启动终端并键入brew install spot
并按下 - 没有,只有dir,例如desktop/
,但是当i exec exec zsh 一切都神奇地开始工作
for example, when i start terminal and type brew install spot
and press TAB - nothing, only dir like a Desktop/
, but when i exec zsh
everything magically starts working
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将其添加到您的
.zshrc
:Add it to your
.zshrc
: