这种方案可行:
brew install git bash-completion
然后在~/.bash_profile中添加:
if [ -f `brew --prefix`/etc/bash_completion.d/git-completion.bash ]; then
. `brew --prefix`/etc/bash_completion.d/git-completion.bash
fi
最后做个高效率的码农(懒人)吧^_^
这种方案可行:
brew install git bash-completion
然后在~/.bash_profile中添加:
if [ -f `brew --prefix`/etc/bash_completion.d/git-completion.bash ]; then
. `brew --prefix`/etc/bash_completion.d/git-completion.bash
fi
最后做个高效率的码农(懒人)吧^_^
本文标题:mac git tab补全参数
本文链接:https://www.haomeiwen.com/subject/ppwpxqtx.html
网友评论