为什么 zsh 在运行捆绑程序时要求将 rspec 更正为 spec?
\n\n\xe2\x9c\x97 rspec --version\n2.12.2\n\xe2\x9c\x97 bundle exec rspec --version\nzsh: correct \'rspec\' to \'spec\' [nyae]? n\n2.12.2\nRun Code Online (Sandbox Code Playgroud)\n\n系统:
\n\n我该如何解决?谢谢!
\n\n按照@mpy的要求ctrl-x h进行讨论bundle exec
\xe2\x9c\x97 bundle exec\ntags in context :completion::complete:bundle::\n all-files (_files _default (eval))\nRun Code Online (Sandbox Code Playgroud)\n\n[[ -o correctall ]] && echo enabled\nenabled # on both machines\nRun Code Online (Sandbox Code Playgroud)\n\n评论答案:spec是一个目录
我按照https://github.com/zsh-users/zsh-completions进行手动安装
\n\n\xe2\x9c\x97 echo $fpath\n/home/ole/app/zsh-completions/src /scripts/zsh/Completion /home/ole/.oh-my-zsh/plugins/ruby /home/ole/.oh-my-zsh/plugins/bundler /home/ole/.oh-my-zsh/plugins/zeus …Run Code Online (Sandbox Code Playgroud)