From: zzapper <zsh@rayninfo.co.uk>
To: zsh-users@zsh.org
Subject: Re: Can $PATH look into sub-folders?
Date: Mon, 30 Aug 2021 15:20:45 +0100 [thread overview]
Message-ID: <847be717-6053-b5fb-9901-2594f95ab2ab@rayninfo.co.uk> (raw)
In-Reply-To: <1341943777.1148584.1629903093282@mail2.virginmedia.com>
On 25/08/2021 15:51, Peter Stephenson wrote:
>> On 25 August 2021 at 15:17 TJ Luoma <luomat@gmail.com> wrote:
>> It is my understanding the zsh (and others) do not usually look into
>> sub-folders of $PATH for commands.
>>
>> Secondly, use recursive globbing to add the directories to path, so at
>> least you don't need to do that explicitly. In other words,
>>
>> path+=(/usr/local/bin/**/*(/))
>>
>> pws
>>
I guess we can also have tilda exclusions?
next prev parent reply other threads:[~2021-08-30 14:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-25 14:17 TJ Luoma
2021-08-25 14:51 ` Peter Stephenson
2021-08-25 15:36 ` TJ Luoma
2021-08-30 14:20 ` zzapper [this message]
2021-08-30 15:32 ` Bart Schaefer
2021-08-25 14:57 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=847be717-6053-b5fb-9901-2594f95ab2ab@rayninfo.co.uk \
--to=zsh@rayninfo.co.uk \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).