zsh-users
 help / color / mirror / code / Atom feed
From: "Lawrence Velázquez" <larryv@zsh.org>
To: "Zach Riggle" <zachriggle@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: builtin log supercedes "log" command, only in non-interactive mode
Date: Thu, 11 Nov 2021 01:24:57 -0500	[thread overview]
Message-ID: <adf409b8-1538-4b73-b017-4419d0acf2dd@www.fastmail.com> (raw)
In-Reply-To: <CAMP9c5myNRqKtm5g6m20+Dy=nvjaZeH=5YAuGygysWWTrAxRpQ@mail.gmail.com>

On Thu, Nov 11, 2021, at 1:03 AM, Zach Riggle wrote:
> So it seems that "builtin log" takes precedence over commands named 
> "log" in $path, but only for non-interactive shells.

I'm going to guess that you're on macOS, which ships with an
/etc/zshrc that runs `disable log`.

If not, check your system's startup files anyway.

> I know I can work around this with "command log", I was just surprised 
> that it works this way.

It doesn't.

-- 
vq


  reply	other threads:[~2021-11-11  6:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11  6:03 Zach Riggle
2021-11-11  6:24 ` Lawrence Velázquez [this message]
2021-11-11  6:40   ` Lawrence Velázquez

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=adf409b8-1538-4b73-b017-4419d0acf2dd@www.fastmail.com \
    --to=larryv@zsh.org \
    --cc=zachriggle@gmail.com \
    --cc=zsh-users@zsh.org \
    --subject='Re: builtin log supercedes "log" command, only in non-interactive mode' \
    /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

Code repositories for project(s) associated with this 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).