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,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29316 invoked from network); 25 Aug 2021 14:18:23 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 25 Aug 2021 14:18:23 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1629901103; b=FcTM6fwwWETGghMvVbE5Evyb86cB5+KBfXPRC6re8FF73sEciSrTTtef4vXyUd2fp+yAT1dQ9A vd5gP/IunHCwGLIbkK/uOSyTnzIjgK4B0Uk6jx0jDfjYc+Td4r9iF1Tcl9Su5lSsXaxrAU+e2B 0CS+eRs9bt3abUzfEF8RSGctVZAQgsNsOC+xa1OwoEbPBepVnq6PzhwcUQzBUbhUgctgTFto1N W2EirPoZSH72pwpfagO2JgC3AVH4OvP4oYxgO3vZKvOmK77kWIg+dkS+zg5BMgz2NVRQCgB+jZ +s2D2V7ylyeFjxPYtFSzwS2Q47OjncT92/PihJcmfr0YDw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-io1-f45.google.com) smtp.remote-ip=209.85.166.45; dkim=pass header.d=gmail.com header.s=20161025 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=1629901103; bh=PIt9QVMPkiAmnp7wt84UjSAF6vQTJDZwr0q0X3Y7TBs=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: DKIM-Signature:DKIM-Signature; b=kVs0GRgVS2FCnA0BDr8GDMH9a63GWUikYMS0c32qFTz6qrMK6UfHggyXYhYYot7Rq06jz70QXB vbvugIMiWa+UXJUSBD2xgaqsUH/cg+TW53q3MpoOms8I8nKRBd6lqKKiGiso/TV8OOfyfWLMC9 fJM7DDkdbnWC4y0IfPmtI2OPSBLuYD8Vp5PTsRyWoZCaDgx89eUNJXTcersJTCJpvmcMHNai6d 1661XAIFCh4mcFlxYDOXHBjCGoMn+fAWK6JPnlkPmK0sZTU/+wWLB8wUAX9Kmrd4e5d0miRAcb gruXh1enAymXG+MNxQLa0E3SghOEAf2A7XBM6WB2ObJI7A==; 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: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:In-Reply-To:References; bh=PIt9QVMPkiAmnp7wt84UjSAF6vQTJDZwr0q0X3Y7TBs=; b=fwa+mWPg1wNHE0sMbv/gf9gt3S wx9NkDex7gjUj/GUjhIgIGX+mjNbwTFiLSuCFQAeLYSl+/BGcGmvfWz5MfrRYDOxpQTbqpdAo6xlM oQyw+7WtkYXvBUwPSp5EOG0sw4qG6fPEGdVLFIcu8ovOjXQGPCXiT0R7OL7SJIYAmB5f3//JlA/bJ iIbPR+JdL4IOOnd1ENczEGyK9Cy4NlQ8hh2ANjU7162LelIGeBj3EmR8OTWMgUwuUqcLqXpkWh05Z ozn8r6G18ez7lZRzODdk9bl+rD1cQLvrRhPzdI1H1JGQV4zTK95BjCdfgyY5hNX/+q7a96yZA7zVQ TtglUzmQ==; Received: from authenticated user by zero.zsh.org with local id 1mItjR-000F7w-Nz; Wed, 25 Aug 2021 14:18:21 +0000 Authentication-Results: zsh.org; iprev=pass (mail-io1-f45.google.com) smtp.remote-ip=209.85.166.45; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-io1-f45.google.com ([209.85.166.45]:44605) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mItij-000EQf-1G; Wed, 25 Aug 2021 14:17:37 +0000 Received: by mail-io1-f45.google.com with SMTP id g9so31073367ioq.11 for ; Wed, 25 Aug 2021 07:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PIt9QVMPkiAmnp7wt84UjSAF6vQTJDZwr0q0X3Y7TBs=; b=vJw6lHDX5HXV7Vse3bxkZjqdyfJm1ZsjcZFS6eZ31r2hp6VoXijzGgKE03hb65AGsf S02qHooIgo47AcOjbJlxCavNOdIzxBZ+9F+/6B1P1aXmQw0qWGOsllaUVFrshVHW7ACA w3E7woGPMo3DJBuHALDkehUXdRUVf2prD5j7Z46Oi522fhGg3bEGaOyMCvD2YBnwq4Ul IqujQ0RK5hwocLPFCCrQYC3INa+bcCt82z90zJSAbIt7k6pSB/WZiD5lDCbLUEnqlsYF DMn6ZsGt0eHMjGIoYcRnxdjNwj4h52Gp9djDO9dTtwGq29jn0aUmUFNytPr+tM756waQ hMuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PIt9QVMPkiAmnp7wt84UjSAF6vQTJDZwr0q0X3Y7TBs=; b=GWkp0VUR61b2pGYZgigKNZqJG5qZSCoZEw8kqifi+3tUnXCH842m+OVsOhs50Y5fXn bRUSf+i3dv9lB2CQ9oooiPWqvEnnieBBWLV7zsbdjzWcofxDxDS5eNfW6t8HPJxzAi2A nFCsLZMxBMJYVU8rcQt4mwVwsSGk8od0fZ3E9z+75k8otHTA7DqVeun4B74OX1OVPs4X cZxVwmlUj6Gpwvz3mBL42fNa6oRhO3KdiVJnafWUpTzR1MEBtAqpsInVh4cqbhVXeyUP k+T4hJyASiRPOOPaY3XXYD8VcMU1JQ3wFaJfLXHJZYERj8Tm4C3liDIm2RAaFOjYV9pZ l/bQ== X-Gm-Message-State: AOAM531jBr/gDzW7W6+kMniLF4dQyyrLG3mPKeTnCwYaSUh7s9zSk+Ix CGsd2MCjUDcZmP/FZaPuunnqwbfh6ABYf+RuP/tzUxqrV9E= X-Google-Smtp-Source: ABdhPJxskId2Jvk2F1an5zTbWPOB2+jx3/zAr0Gah37W8CS1sCduEV3HVz6oJXmqqcICBNeM5tPEmruICjCUwh4G1To= X-Received: by 2002:a02:cca8:: with SMTP id t8mr40246032jap.51.1629901055283; Wed, 25 Aug 2021 07:17:35 -0700 (PDT) Received: from 1064022179695 named unknown by gmailapi.google.com with HTTPREST; Wed, 25 Aug 2021 14:17:34 +0000 Received: from 1064022179695 named unknown by gmailapi.google.com with HTTPREST; Wed, 25 Aug 2021 14:17:29 +0000 Mime-Version: 1.0 (Mimestream 0.26.2) From: TJ Luoma Date: Wed, 25 Aug 2021 14:17:34 +0000 Message-ID: Subject: Can $PATH look into sub-folders? To: Zsh MailingList Content-Type: multipart/alternative; boundary="0000000000006b5bc405ca62e9fe" X-Seq: 26976 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: --0000000000006b5bc405ca62e9fe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It is my understanding the zsh (and others) do not usually look into sub-folders of $PATH for commands. For example, if /usr/local/bin/ is in my $PATH and I have a folder /usr/local/bin/private/ then zsh would not =E2=80=98see=E2=80=99 any script= s/utilities/etc that were in /usr/local/bin/private/ unless I specifically added /usr/local/bin/private/ to my $PATH. That seems to be my experience, at least. My question is whether or not there is an option (a zsh-specific option is fine) which would tell zsh to include sub-folders of $PATH folders without having to explicitly add them all to $PATH. As always, thanks for your help, ~ Tj --0000000000006b5bc405ca62e9fe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

It is my understanding the zsh = (and others) do not usually look into sub-folders of $PATH for commands.

For example, if /usr/local/b= in/ is in my $PATH and I have a folder /usr/local/bin/private/ then zsh wou= ld not =E2=80=98see=E2=80=99 any scripts/utilities/etc that were in /usr/lo= cal/bin/private/ unless I specifically added /usr/local/bin/private/ to my = $PATH.

That seems to be my= experience, at least.

My = question is whether or not there is an option (a zsh-specific option is fin= e) which would tell zsh to include sub-folders of $PATH folders without hav= ing to explicitly add them all to $PATH.

As always, thanks for your help,

<= /div>
~ Tj


--0000000000006b5bc405ca62e9fe--