zsh-users
 help / color / mirror / code / Atom feed
From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: Grant Taylor <gtaylor@tnetconsulting.net>
Cc: "zsh-users@zsh.org" <zsh-users@zsh.org>
Subject: Re: Supporting %F{...} and %K{...} in Zsh 4.x
Date: Sun, 17 Dec 2023 21:02:38 +0100	[thread overview]
Message-ID: <CAN=4vMrppEyuTRy-t-u6yD_VH7DmDwNjiYi+YxweLsry2OhZow@mail.gmail.com> (raw)
In-Reply-To: <64347c47-b0bc-40d7-bf60-964a42edd02f@tnetconsulting.net>

On Sun, Dec 17, 2023 at 8:43 PM Grant Taylor <gtaylor@tnetconsulting.net> wrote:
>
> Hi,
>
> Does anyone have any better ideas on how to support %F / %f and %K / %k
> in Zsh 4.2.5?

How would you write your .zshrc if the only version of zsh that it had
to support was 4.2.5? Once you figure that out, you are done, for this
config will very likely work with any zsh version past 4.2.5.

Roman.

P.S.

Don't export PROMPT or any other internal zsh parameters.


  reply	other threads:[~2023-12-18 19:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-17 19:42 Grant Taylor
2023-12-17 20:02 ` Roman Perepelitsa [this message]
2023-12-17 20:51   ` Grant Taylor
2023-12-18  6:57     ` Roman Perepelitsa
2023-12-20  5:50       ` Grant Taylor
2023-12-18 19:28     ` Bart Schaefer
2023-12-17 21:32 ` Bart Schaefer
2023-12-20  5:59   ` Grant Taylor
2023-12-20 16:58     ` Bart Schaefer
2023-12-24 18:25       ` Grant Taylor
2023-12-24 18:35         ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN=4vMrppEyuTRy-t-u6yD_VH7DmDwNjiYi+YxweLsry2OhZow@mail.gmail.com' \
    --to=roman.perepelitsa@gmail.com \
    --cc=gtaylor@tnetconsulting.net \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).