Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Help wanted with debugging a weird glob behavior
- X-seq: zsh-users 24159
- From: Aryn Starr <whereislelouch@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Help wanted with debugging a weird glob behavior
- Date: Mon, 19 Aug 2019 23:52:23 +0430
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1566242551; bh=uuBP7QJGnjDYcYlk4TjmgYeKI+lANQg2NAZvDwtWRP8=; h=From:Content-Type:Subject:Message-Id:Date:To; b=W9EWBs40gW8J29s0vCvRSfNS5hLy435HA1FfDTVVmHnor4IcjEvSDx3bDY/XAHIly cTCn32ua4zFtHa9DWjb8hp/Ye5AjS+ybhqvYmclsE7X1EW1XoArCklZ384t3kx2qqY 8h+bjDkxIVKYbLETae/ELujhb7T0VjDeN7fwd0TzGUGeud6gajoDbuyqqQxI+Gbb1E AQrem9t1x4nuIRqMBvSiO11ffp+1IXx1VoG4vzQFBMzJ4cECxwkP7utByv6nYpHWzf 0CApUjgDRMeEfukqHuPXygNHpZkXnRBWX7wTjL+Ff+osO0ZF8ZZ1ikublQykmYQ+5C uy+GtBuuMTBLw==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
I have an album of mp3 files in `/Users/evar/my-music/Songs/Motion Picture's Soundtracks/More/Cécile Corbel - The Secret World Of Arrietty OST [FLAC]/`. I have put `/Users/evar/my-music/Songs/Motion Picture's Soundtracks/More/Cécile Corbel - The Secret World Of Arrietty OST [FLAC]/20 - Cécile Corbel - Arrietty's Song (original Japanese version).flac` in the file `path` (to help with reproducibility of the bug)(file accessible at https://git.io/fjF98 <https://git.io/fjF98>).
You can see that the address saved in `path` is valid and points to a file:
```
~/TMP/zbug
$ exa -a --oneline "$(cat path)"
/Users/evar/my-music/Songs/Motion Picture's Soundtracks/More/Cécile Corbel - The Secret World Of Arrietty OST [FLAC]/20 - Cécile Corbel - Arrietty's Song (original Japanese version).flac
```
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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author