Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh expansion fails if nocaseglob and not all directory components are listable



On Mon, Aug 22, 2022 at 11:36:21PM +0200, Oliver Freyermuth wrote:
> 4) Test with nocaseglob and casepaths:
> set nocaseglob
> set casepaths

Shouldn't that be "setopt" or "set -o"?

> echo $(pwd)(N)
>
> => Also here, no output is returned. The path componend which can not be listed is "foo" which does not have any globbing characters inside.
>    I presume it fails since it still attempts to list the directory, which fails, before the actual matching is performed?


Ciao

Dominik ^_^  ^_^

--

Dominik Vogt




Messages sorted by: Reverse Date, Date, Thread, Author