Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [regression] %2K prompt expansion no longer works
- X-seq: zsh-workers 48339
- From: Oliver Kiddle <opk@xxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [regression] %2K prompt expansion no longer works
- Date: Tue, 30 Mar 2021 22:03:48 +0200
- Archived-at: <https://zsh.org/workers/48339>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-03/25445-1617134628.377803%40lwt-.9YS8.fmTH>
- In-reply-to: <86279-1604012954.475057@DzOR.FEf8.yJ7v>
- List-id: <zsh-workers.zsh.org>
- References: <20200830111346.xulnbxoqxduetnoz@chazelas.org> <CAHYJk3SPBJvnEhWDDifxRXw3t89p1XbJ08w1QZb_kQVWrRVK5Q@mail.gmail.com> <20201025201219.24ef0ddc@tarpaulin.shahaf.local2> <CAHYJk3QedKBSPo=pP+t0Lv4g=SUYKQvEqqdb8pg732n9xYbLeg@mail.gmail.com> <20201026072934.lwamqkoepmubftg3@chazelas.org> <86279-1604012954.475057@DzOR.FEf8.yJ7v>
On 30 Oct, I 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. The
> following patch would do that.
Nobody ever commented on this patch of mine. I'm inclined to apply it
unless someone objects.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author