Re: bash-completion now loads completions dynamically, so __git_ps1 is not defined when you open a shell
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 7, 2012, 13:47 UTC
- Message-ID
- <20120407134749.GA2377@burratino>
- In-Reply-To
- <CAMP44s0rYpVhPpaf=C_aPoLUxy=EsiSxYNf04+B0_-MxzCftFw@mail.gmail.com>
Felipe Contreras wrote:
> On Thu, Mar 29, 2012 at 3:00 AM, Kerrick Staley <mail@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
Sounds good to me. In fact, I imagine you'll find no one it does not sound good to. Please feel free to make it so.