Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
prompt color pbg ,pfg,pbg_bold,pfg_bold in colors function?
- X-seq: zsh-workers 22618
- From: Matthias Kopfermann <matthi@xxxxxxxxxxxxxxxxx>
- To: Zsh-Workers <zsh-workers@xxxxxxxxxx>
- Subject: prompt color pbg ,pfg,pbg_bold,pfg_bold in colors function?
- Date: Fri, 18 Aug 2006 12:26:02 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Hi, zsh workers!
The fg, fg_bold associative array and bg and bg_bold in the
colors function are quite useful.
For _prompts_ i have to surround every variable with %{ %} which
does not , aehem, look too nice.
what do you think? would it be fine to have that with
wrapped around %{ %} , too so that not everybody has to put
these around the keys or roll a prompt_colors_array on his
own?
I think, i would love to be able to just use
PS1=$pbg[red]%~ ...
and it just works out of the box in every zsh.
Bad idea?
Matthias
Messages sorted by:
Reverse Date,
Date,
Thread,
Author