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

Re: Would like help with prompt



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