(Mac) -bash: __git_ps1: command not found

后端 未结 19 1931
感动是毒
感动是毒 2020-11-30 16:20

I\'m trying to change my command promt in terminal. I keep getting the error:

-bash: __git_ps1: command not found

I\'ve tried it just by typing

19条回答
  •  [愿得一人]
    2020-11-30 17:04

    For macports I had to add: source /opt/local/share/git-core/git-prompt.sh to my ./profile

提交回复
热议问题