On Thu, Mar 29, 2012 at 3:00 AM, Kerrick Staley <m...@kerrickstaley.com> wrote:
> 1) define __git_ps1 (and friends) in a different script, which will
> get installed in /etc/profile.d (this is the "proper way")

I prefer this because it's useful for zsh as well; not everybody uses
the bash completion in zsh. I believe somebody already proposed this
because of this reason. FWIW I named the script git-prompt.sh on my
side.

Cheers.

-- 
Felipe Contreras

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to