Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with color codes
- X-seq: zsh-users 13046
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "Zsh users list" <zsh-users@xxxxxxxxxx>
- Subject: Re: Problem with color codes
- Date: Fri, 18 Jul 2008 18:06:51 -0700
- In-reply-to: <2d460de70807181612r2e648a3cnb0ba1f308d0ca594@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70807181612r2e648a3cnb0ba1f308d0ca594@xxxxxxxxxxxxxx>
On Jul 19, 1:12am, Richard Hartmann wrote:
}
} I switched from old, hardcoded color variables over to the colors function.
Even the colors function is now somewhat out of date for prompts. The
latest versions of zsh (possibly only the dev version from CVS, I don't
recall and am short of time at the moment to go looking) support color
sequences directly so you don't need the %{ and %} wrappers. E.g.
PS1='%K{blue}%F{red}RED ON BLUE%f%k%# '
Messages sorted by:
Reverse Date,
Date,
Thread,
Author