From: Thorsten Kampe <thorsten@thorstenkampe.de>
To: zsh-users@zsh.org
Subject: Re: How to redirect output without escape sequences to a file
Date: Thu, 12 May 2011 20:10:59 +0200 [thread overview]
Message-ID: <iqh7s5$2kf$1@dough.gmane.org> (raw)
In-Reply-To: <110509080130.ZM19360@torch.brasslantern.com>
* Bart Schaefer (Mon, 09 May 2011 08:01:30 -0700)
> On May 8, 9:27pm, Thorsten Kampe wrote:
> } I've modified my PS4 so it contains a little bit of colour[1].
>
> I was going to suggest that you stop using the terminal escape
> sequences directly and use the %F prompt escape instead:
>
> 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?
Thorsten
next prev parent reply other threads:[~2011-05-12 18:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-08 19:27 Thorsten Kampe
2011-05-09 1:58 ` Aaron Davies
2011-05-09 15:01 ` Bart Schaefer
2011-05-12 18:10 ` Thorsten Kampe [this message]
2011-05-13 6:32 ` Bart Schaefer
2011-05-16 11:03 ` Thorsten Kampe
2011-05-16 21:36 ` Bart Schaefer
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='iqh7s5$2kf$1@dough.gmane.org' \
--to=thorsten@thorstenkampe.de \
--cc=zsh-users@zsh.org \
/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).