From: Bart Schaefer <schaefer@brasslantern.com>
To: "Lawrence Velázquez" <vq@larryv.me>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: What's wrong with PROMPT_SUBST? (Was: VCS info (Re: Call for good plugins list))
Date: Tue, 11 Feb 2020 21:23:32 -0800 [thread overview]
Message-ID: <CAH+w=7Z1yjRLWUCSr4VTSR0OEkmwEFwaz7Dy237ha4P1Ov05=w@mail.gmail.com> (raw)
In-Reply-To: <16D1FF19-CE8F-4A88-9AD0-1661BC3FD65F@larryv.me>
On Tue, Feb 11, 2020 at 1:38 AM Lawrence Velázquez <vq@larryv.me> wrote:
>
> > On Oct 1, 2017, at 5:50 PM, Bart Schaefer <schaefer@brasslantern.com>
> > wrote:
> >
> > The main thing is that I despise prompt_subst
>
> Why is that?
Mostly it's a matter of taste. It introduces yet another set of
tokens that you have to escape to use literally in prompts, and I
don't think the prompt is an appropriate place to be running command
substitutions. It means even more possible collisions on variable
names with unintended side-effects. Obviously these are things that
can be avoided; I'd just rather not have to think about them.
next prev parent reply other threads:[~2020-02-12 5:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-01 16:23 Call for good plugins list Sebastian Gniazdowski
2017-10-01 16:41 ` Ray Andrews
2017-10-01 18:54 ` Bart Schaefer
2017-10-01 19:29 ` Daniel Shahaf
2017-10-01 21:50 ` VCS info (Re: Call for good plugins list) Bart Schaefer
2017-10-01 22:16 ` Daniel Shahaf
2020-02-11 9:38 ` What's wrong with PROMPT_SUBST? (Was: VCS info (Re: Call for good plugins list)) Lawrence Velázquez
2020-02-12 5:23 ` Bart Schaefer [this message]
2020-02-12 7:17 ` Mikael Magnusson
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='CAH+w=7Z1yjRLWUCSr4VTSR0OEkmwEFwaz7Dy237ha4P1Ov05=w@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=vq@larryv.me \
--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).