From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17259 invoked from network); 11 Nov 2021 06:28:06 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Nov 2021 06:28:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Subject:Cc:To:From:Date: References:In-Reply-To:Message-Id:Mime-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=uxcAj/wHT6skxrZlFg0UYtjsCs6TDjm4gXa5lVi0gQw=; b=DFd6sCPtRziI5DQ5j1YYWEQblw Nne+VU01FWz2gCF3PlrnuelRLKj0b3vmYZKZsV1b+Ac3lsJGOrtXRKYAaUlGGZSu2ij+kLRiKrYPb Ccd5ltzTIVv8uTBeV9K5LLB7KmNLvBO+ROvOA/4hwxQoxQw96W8pI25Kq9Iy0tHbbVntjrzg585TE +cOyK+tVwJr3jInxPogb4QzjZI1QmJM9PQBmf2IpaVJWfevS3OVIu5IhcYt/h+TgW2HjX9EaUMH83 3byPrVR8YLRyxz5ipdUpGGUxR5GhH/6mWSTVB3TvEfbs8SYIq7K+kz5SNjXfXHG5MUPtCLXGqix7a 49Y83N6A==; Received: from authenticated user by zero.zsh.org with local id 1ml3Z7-000A5L-Qp; Thu, 11 Nov 2021 06:28:05 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1ml3WS-0009Jp-89; Thu, 11 Nov 2021 06:25:20 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 7909B27C0054; Thu, 11 Nov 2021 01:25:18 -0500 (EST) Received: from imap48 ([10.202.2.98]) by compute4.internal (MEProxy); Thu, 11 Nov 2021 01:25:18 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrvddtgdeludcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderreejnecuhfhrohhmpefnrgifrhgv nhgtvggpgggvlhojiihquhgviicuoehlrghrrhihvhesiihshhdrohhrgheqnecuggftrf grthhtvghrnhepieekjeevledugeefiefgueelgffgtddtgeehvedvhedviefghedvffeu vddvueehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eplhgrrhhrhihvodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdduudehudek jeejtdegqdduudelvdejfeekhedqlhgrrhhrhihvpeepiihshhdrohhrghesfhgrshhtmh grihhlrdgtohhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4F75521E0429; Thu, 11 Nov 2021 01:25:18 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1371-g2296cc3491-fm-20211109.003-g2296cc34 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Thu, 11 Nov 2021 01:24:57 -0500 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: "Zach Riggle" Cc: zsh-users@zsh.org Subject: Re: builtin log supercedes "log" command, only in non-interactive mode Content-Type: text/plain X-Seq: 27337 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: 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