Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to redirect output without escape sequences to a file
- X-seq: zsh-users 16026
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: How to redirect output without escape sequences to a file
- Date: Thu, 12 May 2011 23:32:34 -0700
- In-reply-to: <iqh7s5$2kf$1@dough.gmane.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <iq6qrc$39j$1@dough.gmane.org> <110509080130.ZM19360@torch.brasslantern.com> <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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author