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

Re: psvar + color




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