Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Can $PATH look into sub-folders?
- X-seq: zsh-users 26976
- From: TJ Luoma <luomat@xxxxxxxxx>
- To: Zsh MailingList <zsh-users@xxxxxxx>
- Subject: Can $PATH look into sub-folders?
- Date: Wed, 25 Aug 2021 14:17:34 +0000
- Archived-at: <https://zsh.org/users/26976>
- List-id: <zsh-users.zsh.org>
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 ‘see’ any scripts/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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author