Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Rewrite of zsh-newuser-install
Marlon wrote on Fri, Apr 09, 2021 at 19:49:56 +0300:
>
> > On 7 Apr 2021, at 17:45, Marlon <marlon.richert@xxxxxxxxx> wrote:
> >> 18. Show how to use terminal colours/attributes other than the basic
> >> ones. E.g., I use ${terminfo[dim]} in some places.
> >
> > Sure, that sounds like a good idea. I wasn’t aware of $terminfo[dim].
>
> Where would I use it, though? I can’t really find a good place for it.
Then make one up, or use some other code, e.g.,
% man 5 terminfo | grep italic
enter_italics_mode sitm ZH Enter italic mode
exit_italics_mode ritm ZR End italic mode
⋮
%
FWIW, I use dim in my vcs_info output (see 47519, referenced by 48435).
> Where I would really like to use it is in $zle_highlight, but it’s not supported there. :(
Incidentally, just yesterday z-sy-h received a (duplicate) bug report
requesting, ultimately, that $zle_highlight grow support for italics.
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author