From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 799A328335 for ; Fri, 26 Jan 2024 04:47:22 +0100 (CET) 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-Transfer-Encoding: Content-Type:Subject:Cc:To:From:Date:References:In-Reply-To:Message-Id: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=U6ZlDjMgagj4ki/MLmu4/hiuYbeVMxQIuLR+cscWDp0=; b=Xq2q6vnn8sO8jIhtmElsnHNvVy Vl7JAuHvHv+/jmSlIKe/e1eq9zaD8PhBIT3avtJS7T84GgfcVWygt4VZkvF1biErV2Gr3koNpK72h bPj4m+g6t4IY1PZ+LfrmfW4kPYm+T6cK10PhmV1y/g+bmFOHyYpdZimJwNN16scTcauYGxHnuTzex mu1Sj4uL2u/F+K3bwR5/vDGAa3sQec5nFBeMFFQ8YzEs+pH05R1Yh2wYJxq3gp05KHwlQUVIj133m yic3VtonpBRzxpTgAm9Kd964defGMfPjtKIMPuzUaB2PMEovvVmFlArRM/Iyp5rTu4Oe04TIlrts3 I7T8j0Hg==; Received: by zero.zsh.org with local id 1rTDBZ-0008dA-Rx; Fri, 26 Jan 2024 03:47:21 +0000 Received: by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1rTD9w-0007qn-33; Fri, 26 Jan 2024 03:45:40 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id C2D8F27C005B; Thu, 25 Jan 2024 22:45:38 -0500 (EST) Received: from imap48 ([10.202.2.98]) by compute2.internal (MEProxy); Thu, 25 Jan 2024 22:45:38 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeliedgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvvefutgfgse htqhertderreejnecuhfhrohhmpefnrgifrhgvnhgtvgcugggvlhojiihquhgviicuoehl rghrrhihvhesiihshhdrohhrgheqnecuggftrfgrthhtvghrnhepheegieduieegvddvff dvgeefuddugfetvdettddtfedutdejvefgjefgveethedunecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgrrhhrhihvodhmvghsmhhtphgruh hthhhpvghrshhonhgrlhhithihqdduudehudekjeejtdegqdduudelvdejfeekhedqlhgr rhhrhihvpeepiihshhdrohhrghesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: iaa214773:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7B62131A0065; Thu, 25 Jan 2024 22:45:38 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-119-ga8b98d1bd8-fm-20240108.001-ga8b98d1b MIME-Version: 1.0 Message-Id: <4a1df20e-70c4-41ed-b370-4fbbae0619b9@app.fastmail.com> In-Reply-To: <680FA5D3-E8FD-49F2-9AE3-C169A6D9DA9E@dondley.com> References: <73E4333B-C282-4A58-837C-A50F73E13289@dondley.com> <680FA5D3-E8FD-49F2-9AE3-C169A6D9DA9E@dondley.com> Date: Thu, 25 Jan 2024 22:45:18 -0500 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: "Steve Dondley" Cc: zsh-users@zsh.org Subject: Re: Can't tell the difference in operation between PATH_SCRIPT and NO_PATH_SCRIPT Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 29568 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, Jan 25, 2024, at 10:21 PM, Steve Dondley wrote: > Sorry, I=E2=80=99ve got a bad misconcepiton somewhere. I stil don=E2=80= =99t get it. > > I do: PATH=3D.dir > > When I do: setopt pathscript > And then do: foo.zsh > > It finds foo in the ./dir directory and executes it. > > > Then when i do: unsetopt pathscript > And then I do: foo.zsh > > It stil finds foo.zsh in the ./dir directory. > > So I=E2=80=99m not seeing how it behaves any differently.=20 You doing something completely different from what I described and demonstrated. PATH_SCRIPT *only* affects how zsh behaves when you invoke it to run a script (e.g., ''zsh script_name''). It does not affect PATH searches performed as part of command execution. --=20 vq