From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10159 invoked by alias); 13 May 2011 06:32:40 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16026 Received: (qmail 3201 invoked from network); 13 May 2011 06:32:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110512233234.ZM14802@torch.brasslantern.com> Date: Thu, 12 May 2011 23:32:34 -0700 In-reply-to: Comments: In reply to Thorsten Kampe "Re: How to redirect output without escape sequences to a file" (May 12, 8:10pm) References: <110509080130.ZM19360@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: How to redirect output without escape sequences to a file MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On May 12, 8:10pm, Thorsten Kampe wrote: } } > PS4='%F{cyan}%B+%b%f%1N[%i]%F{cyan}%B:%b%f ' } } I did that and this looks much more readable now. Unfortunately on a } machine of mine with an older zsh (4.2.6) this displays as {cyan}. } } Whould it make sense to go back to the (older?) "autoload -U colors; } colors"/"fg_bold[cyan]" invocation on this machine? I'd say yes but I'm a bit biased (having written "colors") ... I'd use %{$fg[cyan]%}%B+%{$reset_color%} (no need to %b, reset clears the whole palette). Or %b%{$fg[default]%} if you prefer symmetry.