Public bug reported:

I have been using this in my bashrc. It no longer works, as of Ubuntu
12.10.

if [ -f /usr/local/git/contrib/completion/git-completion.bash ]; then
  . /usr/local/git/contrib/completion/git-completion.bash
fi
export GIT_PS1_SHOWDIRTYSTATE=true

export PS1="\[\033[36m\][\!][\t] 
\[\033[1;33m\]\u\[\033[0m\]@\h:\[\033[36m\][\w]:\[\033[0m\]\$(__git_ps1) 
---

I get "__git_ps1: command not found" after every prompt. (Obviously I
will remove __git_ps1 for now from the prompt.) Please fix.

** Affects: git (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1088960

Title:
  Missing __git_ps1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1088960/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to