Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: builtin log supercedes "log" command, only in non-interactive mode
- X-seq: zsh-users 27337
- From: Lawrence Velázquez <larryv@xxxxxxx>
- To: "Zach Riggle" <zachriggle@xxxxxxxxx>
- Cc: zsh-users@xxxxxxx
- Subject: Re: builtin log supercedes "log" command, only in non-interactive mode
- Date: Thu, 11 Nov 2021 01:24:57 -0500
- Archived-at: <https://zsh.org/users/27337>
- In-reply-to: <CAMP9c5myNRqKtm5g6m20+Dy=nvjaZeH=5YAuGygysWWTrAxRpQ@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author