Re: [PATCH 1/6] prompt: don't scream continuation state
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Jun 4, 2013, 03:44 UTC
- Message-ID
- <CALkWK0=5XecaMpPPQgvJZTwR2QUUWVqbZK5p7af9R1HjA0U=OQ@mail.gmail.com>
- In-Reply-To
- <20130603211556.GB23224@sigill.intra.peff.net>
Jeff King wrote:
> It seems silly to argue about output formats when we are writing a > prompt in a convenient Turing-complete scripting language already. > What about something like:
Could you have a look at __git_ps1_colorize_gitstring from rr/zsh-color-prompt in pu? In the general case, wouldn't the user need to re-implement this entire function (with so many variables) in her ~/.zshrc? Isn't it horribly painful for too little gain?