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

Re: problem with my term and Misc/colors



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