From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: How to redirect output without escape sequences to a file
Date: Thu, 12 May 2011 23:32:34 -0700 [thread overview]
Message-ID: <110512233234.ZM14802@torch.brasslantern.com> (raw)
In-Reply-To: <iqh7s5$2kf$1@dough.gmane.org>
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.
next prev parent reply other threads:[~2011-05-13 6:32 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
2011-05-13 6:32 ` Bart Schaefer [this message]
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=110512233234.ZM14802@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--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).