Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: builtin log supercedes "log" command, only in non-interactive mode



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