Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem with my term and Misc/colors
- X-seq: zsh-workers 20256
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: problem with my term and Misc/colors
- Date: Tue, 10 Aug 2004 17:35:06 -0700 (PDT)
- In-reply-to: <20040810135445.GE17806@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040810135445.GE17806@xxxxxxxxxx>
- Reply-to: zsh-workers@xxxxxxxxxx
On Tue, 10 Aug 2004, Han Boetes wrote:
> I found a problem with the colors package
Based on the change you made, I'd say it was a problem with your $PS1
setting, not with the colors package.
> Here is a fix:
> 
> +++ colors      2004-08-10 15:32:39.018301944 +0200
> @@ -54,7 +54,8 @@
> +local lc=$'%{\e[' rc='m%}'     # Standard ANSI terminal escape values
This is definitely not correct.  The color values set up by the colors 
package are meant to be used in a number of places other than prompts 
(despite the comment to the effect that prompt themse use them).  If you 
use the color values in your prompt, you should use the %{ and %} around 
them, but the prompt delimiters do not belong in the colors package.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author