Autocomplete git in mac OS not working?

后端 未结 6 1580
清歌不尽
清歌不尽 2021-02-01 07:19

I am using git in mac. I am trying to have the autocomplete feature. I followed these steps (http://www.codethatmatters.com/2010/01/git-autocomplete-in-mac-os-x/) but I get this

6条回答
  •  孤街浪徒
    2021-02-01 07:38

    Was getting .git-completion.bash: bash: bad interpreter: No such file or directory in Mountain Lion.

    Should be "source ~/.git-completion.bash" in ~/.bash_profile

提交回复
热议问题