Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [regression] %2K prompt expansion no longer works
- X-seq: zsh-workers 47511
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [regression] %2K prompt expansion no longer works
- Date: Thu, 29 Oct 2020 17:42:34 -0700
- Archived-at: <https://zsh.org/workers/47511>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-10/CAH%2Bw%3D7aV%2BgJg8YCX%3Dw29dasxvbB3QCpy%3DJEd3XeWyG%2BVQvCWiA%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-oo1-f43.google.com) smtp.remote-ip=209.85.161.43; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bus5xeC98O2T3Q9FIumdmf6T144kVFGFolA9kpdwWlg=; b=P+rr3eTqzGbX3G4Weoqk+dlNk7ynRSRFa+yUW3SdGZ4o8dxzsJHdjdcduT6i2NpnZA lMlhwrnn+Vkz2Bo2fZAmj93bMtV1C/q7+YldqODfGI18E/1OL88Pi2FzjCkrunXv43qu JbNZabDiw3hTdSaZ4/WAD4FytJ5+QVMSaKVcD+jTOe8OUXZ60x8IChytTrpYXGQgIrTC lKeYedqMJnzOLvx7rJcw/0PjLQVIxUIB8ULL45CKhtV/ca0OAgFeJJWUqhfYGVo4lPb7 mua71M1A8Mb36BCzIb4Cl6m/kNUoEOXK3l9YBBCrDj80rsPlo32ukF33eryciGbFkR1K LqGA==
- In-reply-to: <86279-1604012954.475057@DzOR.FEf8.yJ7v>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- 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>
- Sender: zsh-workers-request@xxxxxxx
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