(Mac) -bash: __git_ps1: command not found

后端 未结 19 2105
感动是毒
感动是毒 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.

提交回复
热议问题