Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: End boldface also ends background color
- X-seq: zsh-users 21413
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: End boldface also ends background color
- Date: Thu, 24 Mar 2016 17:23:25 -0700
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=nUoe74lwxBy7ehplkwKBx5ZHcMKYL6YgKdFVYc+mwtQ=; b=ir5Mnj8964Zhboc8HCUvfdpPBzdUfboHUVrt4hggwcLHnf5Stfc2uYGe9ZYZc63SDe lIvDUzJS43Y+2kINQDde62+Gk5l9chD55j+CvInRvVa8xssdjudZbIzRoWF2o0YZm7Uq p6KS3CZg0JOfYY3IJ9qfWqS7VpJ6U9KjMs+xE2D6gNnS73+8njQS5Mf+Qac9+Lg38Uy2 xpnZjBCNNMOvb7MEwh5hSSx551LdiPNt4xJ3l3i7BoKTF0lMwomyhOPwB144APkC5fRX RR6YQvOwla0ItyPjWnf3nvyWI1rWHka6/sDqeD0JplOO4JaOSIpyL6qKthwU5F3y+itY E/Jg==
- In-reply-to: <CAHYJk3T9gGLaDrOqSzC7_71bO090=guTCoYAxW76=CKZo9-Rng@mail.gmail.com>
- 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: <CAJjRh0RPasUzjZr+RFmdTGZLs_gpgx7fb3XjT9uEOSAtpNmgCA@mail.gmail.com> <CAHYJk3S_837wMcu0VgFkuWmrFsmdGT6Tqg4euxvjky=8HOfuGA@mail.gmail.com> <160323185356.ZM2458@torch.brasslantern.com> <20160324103837.678f2f36__45846.6877033517$1458816008$gmane$org@pwslap01u.europe.root.pri> <20160324182026.GA20669@chaz.gmail.com> <CAH+w=7aEitgjr4+eoSwkezEKhexbsthPGBqsj=mm7JkYz3X53w@mail.gmail.com> <CAHYJk3T9gGLaDrOqSzC7_71bO090=guTCoYAxW76=CKZo9-Rng@mail.gmail.com>
On Thu, Mar 24, 2016 at 3:43 PM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> Using $fg from colors doesn't buy you anything over using the builtin
> prompt sequences though. They also do not have an un-bold sequence.
Strictly speaking, $fg doesn't have a simple bold sequence either --
you have to use e.g. $fg_bold[red] and $fg_no_bold[red], so if you
stick to the intended model you do have un-bold.
There is $bold_color but it's only thrown in there because of the
comment about black and white being less than pure in some terminal
color palettes. There aren't escape codes created by the colors
function for standout, underline, faint, etc. either, but we could add
e.g. $normal_color if that's the only issue.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author