Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [regression] %2K prompt expansion no longer works



On Thu, Oct 29, 2020 at 4:09 PM Oliver Kiddle <opk@xxxxxxx> wrote:
>
> > Shouldn't %F{green} give the same as %F{2} (echoti setaf 2) instead of
> > hardcoding the escape sequence?
>
> That's what I would have thought too. But then why has code been written
> to avoid termcap in the case of named colours?
>
> If nobody can remember, removing it may be the only way to find out.

%F hasn't been around that long (comparatively, ahem) ... the git
history should provide some explanation.

https://www.zsh.org/mla/workers/2008/msg00647.html

Peter?  Jog anything?




Messages sorted by: Reverse Date, Date, Thread, Author