From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Martijn Dekker <martijn@inlv.org>, zsh-workers@zsh.org
Subject: Re: command -p should enable builtins not in path
Date: Fri, 21 Aug 2020 17:08:06 +0100 (BST) [thread overview]
Message-ID: <1593127844.1326203.1598026086145@mail2.virginmedia.com> (raw)
In-Reply-To: <861d1eee-a00b-f90d-21f3-7129afa4d765@inlv.org>
> On 21 August 2020 at 16:49 Martijn Dekker <martijn@inlv.org> wrote:
>
>
> Op 21-08-20 om 14:03 schreef Peter Stephenson:
> > I tend to agree there's not a lot of point in this incompatibility,
> > given where the "-p" flag originates --- it's a relatively late
> > addition to zsh.
> >
> > Here's one possible fix.
>
> It seems inconsistent/unexpected if 'command -p cd' works, but 'command
> cd' doesn't.
However, "command" with no option is a very long-standing piece of zsh
syntax to pick an external command, so that's certainly not going to change.
pws
next prev parent reply other threads:[~2020-08-21 16:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-20 11:28 Vincent Lefevre
2020-08-21 13:03 ` Peter Stephenson
2020-08-21 15:49 ` Martijn Dekker
2020-08-21 16:08 ` Peter Stephenson [this message]
2020-08-21 16:35 ` Martijn Dekker
2020-08-24 18:30 ` Vincent Lefevre
2020-08-24 19:59 ` Martijn Dekker
2020-10-02 13:17 ` Vincent Lefevre
2020-08-21 15:47 ` Martijn Dekker
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=1593127844.1326203.1598026086145@mail2.virginmedia.com \
--to=p.w.stephenson@ntlworld.com \
--cc=martijn@inlv.org \
--cc=zsh-workers@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).