Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Would like help with prompt
- X-seq: zsh-users 10277
- From: Frank Terbeck <frank.terbeck@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Would like help with prompt
- Date: Thu, 18 May 2006 12:44:56 +0200
- In-reply-to: <7.0.1.0.2.20060518122845.022675c8@xxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Operating-system: Linux 2.6.16.1 i686
- References: <7.0.1.0.2.20060518110006.0226ccf0@xxxxxxxxxxxx> <20060518093742.GP7968@xxxxxxxxxxxxxxx> <7.0.1.0.2.20060518122845.022675c8@xxxxxxxxxxxx>
Kyrre Nygard <kyrreny@xxxxxxxxxxxx>:
> At 11:37 18.05.2006, Frank Terbeck wrote:
> >I'd really check if 'colors' wouldn't do:
> >
> >[snip]
> > % print -l $color | sort | column
> > 00 32 44 cyan
[...]
> >[snap]
>
> Cool stuff, thanks man!
>
> Although, what does each column represent?
That's just a representation of an associative array.
See 'man zshcontrib'. And try:
% autoload colors ; colors
% print $fg[red]$bg[white]Hello World.
% PS1="%{${fg[yellow]}%}%/ %{${fg[default]}%}%# "
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author