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

Help wanted with debugging a weird glob behavior



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