【发布时间】:2013-03-01 07:28:55
【问题描述】:
我尝试安装 Ruby 2.0。我的命令行 urped 现在如下所示:
-bash: __git_ps1: command not found
[11:58:28][whatever@whatever ~]$
我不知道如何摆脱 __git_ps1 command not found 错误。我搜索了我的 .bash_profile 和 .bashrc 以查看它是否正在尝试设置变量或其他内容,但没有看到任何内容。我唯一能找到提到的 git_ps1 的地方是 ~/.dotfiles/.bash_prompt。我完全替换了该文件的内容,注销并重新登录,它没有修复任何问题。
我看到了this,但我对命令行还很陌生,所以我只是把自己弄糊涂了。
有什么想法吗?
【问题讨论】:
-
你用的是哪个版本的git?
-
git 版本 1.7.10.2 (Apple Git-33)
标签: bash shell command git-bash ruby-2.0