help / color / mirror / code / Atom feed
From: Oliver Freyermuth <o.freyermuth@googlemail.com>
To: zsh-users@zsh.org
Subject: Re: zsh expansion fails if nocaseglob and not all directory components are listable
Date: Tue, 23 Aug 2022 00:01:09 +0200	[thread overview]
Message-ID: <55c897d6-12ce-8ad8-2f48-b3738dd3ada4@googlemail.com> (raw)
In-Reply-To: <YwP7glGzfenUkeqm@gmx.de>

Am 22.08.22 um 23:56 schrieb Dominik Vogt:
> 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"?

Indeed, my bad. And once I do that, it works as advertised...

Many thanks to you all, that solves my issue :-).


>> 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

      reply	other threads:[~2022-08-22 22:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 18:02 Oliver Freyermuth
2022-08-22 19:05 ` Daniel Shahaf
2022-08-22 20:14 ` Lawrence Velázquez
2022-08-22 20:59   ` Bart Schaefer
2022-08-22 21:36     ` Oliver Freyermuth
2022-08-22 21:56       ` Dominik Vogt
2022-08-22 22:01         ` Oliver Freyermuth [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55c897d6-12ce-8ad8-2f48-b3738dd3ada4@googlemail.com \
    --to=o.freyermuth@googlemail.com \
    --cc=zsh-users@zsh.org \


* 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


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).