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.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,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 CC39726DDE for ; Fri, 26 Jan 2024 17:43:14 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1706287394; b=ipx2qYOvrdVPAv9jCr+zg77lVQVS8lOCj9R4KSq7FAD1DilTEiOyVpn95gNJBkwjzn9Sy3xQ0k lyjAxHMMOa2MRHhIcDp3yCSQpE1VG8lkDzqOjE6uWF1ZZwEC7d6NWO1S3B1Bnz5Lxvjv+CD5yd JST18j0rjQ+LBMn2zG1kdwt2AdPi3Jk47eWJk2fECtNs+rAKIpzJmzBZ9POjfQENWGDGyB1vty rhi7gIfYt1AySmbn38BsYVDRXwYlodjAYIvXKAX7vjdNpPMB9cABizuTIbFSTnPG5f7XE/3EVc LMIoSSnaW9ZWvOKJyUTz/gQe3bWDC2fEeK7v+lzXp04FGQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f54.google.com) smtp.remote-ip=209.85.167.54; dkim=pass header.d=gmail.com header.s=20230601 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1706287394; bh=L4XZE/w5zikYGbT8fg1MId4l55duPGOHuPfKqA2TH2A=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=bCvEbanYxOET8Zg34B3a34ktFPMb6tp37vKTK4AhecE6UWjAPNDiMWXU8D64tfKd2QAY1sJek1 CK0foLY4dbh6V+oBx5TdnIXNBhzeBXQZ9rWexLBmuj3QQ6yNXq3tH6HG6OfUDjgbt93gJwbELT sjUXw14y4g4jfy5xjXnPfUoUSdPBSy8+4kV+SSZJXFKp8A13AawSvFBLoKwr/NttUROBa48j/8 bxta72gXk0zd9ZjmMA71tYWm7pa4y/WzwXYkCPzdg5DDQma1Y2s5ehmTGJFMHjrYhC5rhsT7zT 4QoLWezkalPUNfscCkQGF5a/LVNwuNijgpvsai9ySxEGmQ==; 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:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=L4XZE/w5zikYGbT8fg1MId4l55duPGOHuPfKqA2TH2A=; b=SCFcQbFlzLHI3HYBK1bgAV5H4v caAK+SYjw7NSRfaOilBZHEH1xgmb9/Xu6cHZ2SQYR9A8rpoatXxiDjC6QNjPIaOqRgJy4Cq8PlVks J6lGT9jizBBdPtUHe5GusAuwypi+MGfvJ9t4x8JxG18LRhWThPemqMGZ2e18y6PkiyTOFyRUwizB+ PdYNuXqRDvr1TRXJ9r+NVh8Wh35APkMG5aPnh1qFyowAhKLJTY+lsqVzVWiKJE3UXdO1xEFAu432W X0dSyexb6Esjt/pIbTDuxbbS9QmA1U5fj031bdY17OFQncgLTquxJmMXqLcZjW3o1eCRMJzBrE+/x BBhtBHYQ==; Received: by zero.zsh.org with local id 1rTPIQ-0001LL-4j; Fri, 26 Jan 2024 16:43:14 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f54.google.com) smtp.remote-ip=209.85.167.54; dkim=pass header.d=gmail.com header.s=20230601 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lf1-f54.google.com ([209.85.167.54]:49200) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rTPHH-0000cx-2x; Fri, 26 Jan 2024 16:42:04 +0000 Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-5100c4aa08cso582945e87.2 for ; Fri, 26 Jan 2024 08:42:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706287322; x=1706892122; darn=zsh.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=L4XZE/w5zikYGbT8fg1MId4l55duPGOHuPfKqA2TH2A=; b=bPQm6KMwv0m7HUzfZOCbZpZ3KVmdGZ4Shfhu7k9qM/vkzVYJJYsjQmKdwRkY0y2Dos +k3BM7wvJOG0HQfU+0eR0uSztvJcG4wLvquP/nyEi/Ug57HO39PQdWfCbpcHx9m2feSF rPJoYzJhHh/uNzgpKGIzb0153DxObLJaIPnq9iOThNMexOu5E/RszKDt6DYUi6f8fYhl zwX+FfCWmifXCnqbkopgyuNruxmO/eEOqHn702pOM9FjGQrC02SoxnSsT4d8E27G13HZ k/zsuCk817EsGpsWe6gCBnjF1MNi+efsdKh8e8HMlED4FknVspeyVaKZUEcopFvVhmBV n6kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706287322; x=1706892122; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=L4XZE/w5zikYGbT8fg1MId4l55duPGOHuPfKqA2TH2A=; b=BZkednZ5w2SBaTZOaV/K8veIeDi8PrlTjrWCnLhvdbEcRIU4ZxtG0m8/wVSjFB/e9X Cub7HOplIQqGGlFR/2nXrLslZQHwi6CzF/8uahZmo2298ALincdi5NtUu9QeHLX+u5Zc KJlar3CqXQfNVwIilpy/Gzhl5dhb10XHQ9BWhmah9X+nZfBJhkpL5gvXp5sO5KqiI7M+ fp6mQnGOke+MsI2rknnKUfW/crDNrKDQ+Qw7MnhIrUE3AgvniWxsuf1TNVUgEpH3MV4i 4d+hEcE/MVzBPsge001Bm8A++gOiWr5C5uoG/WB+pgtzqpvgUzoyZgVI6QRmTSErmTr1 J5Dw== X-Gm-Message-State: AOJu0Yxea2iG8wZSyRUxVQq+oBomMChBe9a2rSsEoD4us0G+n0njPaiN pJ0W4gCGYTdgo8MiVndVmbLsrq+U6TZ43CBJ3JdGEWecn8N5XOlOwUHshZ32ighJmm45eyjeTei Ckv0pW/4+8B7n0OJ9ohtsgDHcX8AvEv3O X-Google-Smtp-Source: AGHT+IF8g78xm8CnZTQ3eqnsu6pV7N1zVegMoBcw+ZdMnPuzHavWDu+bm43FVqK2jQWJ7+nRLVpEzefyotnGnXWS8C8= X-Received: by 2002:a2e:9b51:0:b0:2cf:32d3:306d with SMTP id o17-20020a2e9b51000000b002cf32d3306dmr32709ljj.62.1706287321500; Fri, 26 Jan 2024 08:42:01 -0800 (PST) MIME-Version: 1.0 References: <73E4333B-C282-4A58-837C-A50F73E13289@dondley.com> <680FA5D3-E8FD-49F2-9AE3-C169A6D9DA9E@dondley.com> <4a1df20e-70c4-41ed-b370-4fbbae0619b9@app.fastmail.com> <3DC872AC-5B19-468D-85D5-5D3A501EF7E9@dondley.com> <2CF29A22-6721-4275-8E92-7FF61CE4CDCB@dondley.com> <316F625D-EC13-43C5-808F-B78DD09E906C@dondley.com> In-Reply-To: From: "Mark J. Reed" Date: Fri, 26 Jan 2024 11:41:49 -0500 Message-ID: Subject: Re: Can't tell the difference in operation between PATH_SCRIPT and NO_PATH_SCRIPT To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary="000000000000aedfa7060fdbf900" X-Seq: 29580 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: --000000000000aedfa7060fdbf900 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable (Sorry, I neglected to trim the recipients list in my reply and sent Steve and Bart duplicates.). I just have one addendum to my previous message: On Fri, Jan 26, 2024 at 11:07=E2=80=AFAM Mark J. Reed = wrote: > So doing *setopt pathscript* has no effect whatsoever on what a > subsequent */bin/zsh some_script* will do. You have to do this instead: > > */bin/zsh -o pathscript some_script* > > This is why the documentation for the PATH_SCRIPT option in zshoptions(1) points you to the INVOCATION section of the main zsh manual: the option is really only useful when specified on the command line. --=20 Mark J. Reed --000000000000aedfa7060fdbf900 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
(Sorry, I neglected to trim the recipients list in my= reply and sent Steve and Bart duplicates.).=C2=A0

I just have one addendum to my previous message:

On Fri, Jan 26,= 2024 at 11:07=E2=80=AFAM Mark J. Reed <markjreed@gmail.com> wrote:
So doing setopt pathscript=C2=A0has no effect whatsoever on wha= t a subsequent=C2=A0/bin/zsh some_script= =C2=A0will do. You have to do this instead:

/bin/zsh -o= pathscript some_script

This is why the documentation for the PATH_SCRIPT option i= n zshoptions(1) points you to the INVOCATION section of the main zsh manual= : the option is really only useful when specified on the command line.


--
Mark J. Reed <= markjreed@gmail.co= m>
--000000000000aedfa7060fdbf900--