(Mac) -bash: __git_ps1: command not found

后端 未结 19 1926
感动是毒
感动是毒 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:15

    You should

    $ brew install bash bash-completion git

    Then source "$(brew --prefix)/etc/bash_completion" in your .bashrc.

    0 讨论(0)
提交回复
热议问题