zsh-workers
 help / color / mirror / code / Atom feed
* prompt color pbg ,pfg,pbg_bold,pfg_bold in colors function?
@ 2006-08-18 10:26 Matthias Kopfermann
  2006-08-18 13:08 ` Frank Terbeck
  0 siblings, 1 reply; 8+ messages in thread
From: Matthias Kopfermann @ 2006-08-18 10:26 UTC (permalink / raw)
  To: Zsh-Workers

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-08-20 18:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-18 10:26 prompt color pbg ,pfg,pbg_bold,pfg_bold in colors function? Matthias Kopfermann
2006-08-18 13:08 ` Frank Terbeck
2006-08-18 18:03   ` Bart Schaefer
2006-08-19  6:43     ` readability (was: Re: prompt color pbg ,pfg,pbg_bold,pfg_bold in colors function?) Matthias Kopfermann
2006-08-19 18:39       ` Bart Schaefer
2006-08-20  6:56         ` Matthias Kopfermann
2006-08-20 17:33           ` Bart Schaefer
2006-08-20 18:47             ` Matthias Kopfermann

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).