Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Problem with color codes



On Sat, 19 Jul 2008 02:13:51 +0200, Richard Hartmann wrote:
> On Sat, Jul 19, 2008 at 01:26, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> 
> > do the colors variables have the %{%} sequences in them? Otherwise
> > you have to write those out explicitly.
> 
> To be honest, I had assumed they _must_ be escaped properly as they
> are from a ZSH function.
> 
> I will try & find out why they are not and provide a patch which does
> things 'better' depending on the answer I get.

The answer is, I suppose: so that they may be used in other places too,
not only in prompts.

-- 
Michał Politowski
Talking has been known to lead to communication if practiced carelessly.



Messages sorted by: Reverse Date, Date, Thread, Author