From: Mikael Magnusson <mikachu@gmail.com>
To: Aryn Starr <whereislelouch@icloud.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Help wanted with debugging a weird glob behavior
Date: Tue, 17 Sep 2019 17:30:54 +0200 [thread overview]
Message-ID: <CAHYJk3RYTfPAtTS+TwKmnJpggsynMXKzNC6fGoVij8akooT5Xg@mail.gmail.com> (raw)
In-Reply-To: <0628A0E5-63F0-481E-AEC2-962658134620@icloud.com>
On Mon, Aug 19, 2019 at 9:24 PM Aryn Starr <whereislelouch@icloud.com> wrote:
(this message was in my spam folder, but I don't think anyone else
replied to it)
> But when I get the dirname of that path and do a glob on it, zsh doesn’t find any match:
>
> ```
> ~/TMP/zbug
> $ ec "${$(cat path):h}"/*(D)
> zsh: no matches found: /Users/evar/my-music/Songs/Motion Picture's Soundtracks/More/Cécile Corbel - The Secret World Of Arrietty OST [FLAC]/*(D)
> ```
>
> I have tested this with `zsh -f`, and the bug is not present there. How can I find what in my config is causing this?
Most likely candidate is you did setopt nobareglobqual, in which case
the example is a bit needlessly complicated, does a simple
echo .(D)
work for you?
--
Mikael Magnusson
next prev parent reply other threads:[~2019-09-17 15:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-19 19:22 Aryn Starr
2019-09-17 15:30 ` Mikael Magnusson [this message]
[not found] <0628A0E5-63F0-481E-AEC2-962658134620__9154.55124793283$1566242642$gmane$org@icloud.com>
2019-08-20 7:37 ` Stephane Chazelas
[not found] ` <227BE55C-4B7E-4CAD-B212-D48F663BC09D@icloud.com>
2019-08-20 8:21 ` Stephane Chazelas
2019-08-20 8:47 ` Roman Perepelitsa
2019-08-20 9:02 ` Aryn Starr
[not found] ` <A227EBEE-60CC-460D-BBAD-D5E0A3386B4B__40377.5387721666$1566291837$gmane$org@icloud.com>
2019-08-20 11:04 ` Stephane Chazelas
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=CAHYJk3RYTfPAtTS+TwKmnJpggsynMXKzNC6fGoVij8akooT5Xg@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=whereislelouch@icloud.com \
--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).