Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: psvar + color
- X-seq: zsh-users 10980
- From: Michael Hernandez <sequethin@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: psvar + color
- Date: Tue, 14 Nov 2006 09:05:03 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=g+pwk5r55o5I9w7C570/A1lu58Dg+fm4gdg3kdHIOpFTHT8H1p+mhHFsUdfc6jk28fVeLmlo/MbxdsW0AShcT3nUdKSrUQLxZ3+xljeF6e1JLg+7M/yM7GNwxcCxR1FKZPCftUF0kA2c2Kax0zckBFxO+l9a1+K/14EkMnWWB8U=
- In-reply-to: <200611141037.kAEAb1No026282@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <ADC7CABE-A63E-42C1-A7F8-BC5E09367D79@xxxxxxxxx> <200611141037.kAEAb1No026282@xxxxxxxxxxxxxx>
On Nov 14, 2006, at 5:37 AM, Peter Stephenson wrote:
However, given that you have PROMPT_SUBST set you don't need to
rely on
% substitution at all for the array subscript:
p_apm='%{${fg_no_bold[$psvar[3]]}%}%(2v.*%2v.) '
should do what you want.
Thank you so much, that works perfectly!
MH
Messages sorted by:
Reverse Date,
Date,
Thread,
Author