From: Frank Terbeck <frank.terbeck@rwth-aachen.de>
To: zsh-users@sunsite.dk
Subject: Re: Would like help with prompt
Date: Thu, 18 May 2006 12:44:56 +0200 [thread overview]
Message-ID: <20060518104456.GQ7968@fsst.voodoo.lan> (raw)
In-Reply-To: <7.0.1.0.2.20060518122845.022675c8@broadpark.no>
Kyrre Nygard <kyrreny@broadpark.no>:
> 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
next prev parent reply other threads:[~2006-05-18 10:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 9:05 Kyrre Nygard
2006-05-18 9:37 ` Frank Terbeck
2006-05-18 10:31 ` Kyrre Nygard
2006-05-18 10:32 ` Kyrre Nygard
2006-05-18 10:44 ` Frank Terbeck [this message]
2006-05-18 17:32 ` Kyrre Nygard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060518104456.GQ7968@fsst.voodoo.lan \
--to=frank.terbeck@rwth-aachen.de \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).