无法找到猛砸在岩组完整的替代命令 [英] Unable to find a substitute command for Bash's complete in Zsh

查看:113
本文介绍了无法找到猛砸在岩组完整的替代命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我把最新的git-completion.bash我的.zshrc和我得到

I put the newest git-completion.bash to my .zshrc and I get

/Users/Masi/bin/shells/git/git-completion.bash:2116: command not found: complete
/Users/Masi/bin/shells/git/git-completion.bash:2118: command not found: complete

该行

 complete -o bashdefault -o default -o nospace -F _git git 2>/dev/null \
     || complete -o default -o nospace -F _git git 
 complete -o bashdefault -o default -o nospace -F _gitk gitk 2>/dev/null \
     || complete -o default -o nospace -F _gitk gitk

哪个命令是猛砸的完整的岩组?

推荐答案

Git的完成脚本已经更新了zsh来工作了。最新的版本应该只是工作。

Git's completion script has been updated to work with ZSH too. The latest version should "just work".

这篇关于无法找到猛砸在岩组完整的替代命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆