Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Help wanted with debugging a weird glob behavior
- X-seq: zsh-users 24162
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Aryn Starr <whereislelouch@xxxxxxxxxx>
- Subject: Re: Help wanted with debugging a weird glob behavior
- Date: Tue, 20 Aug 2019 09:21:50 +0100
- Cc: Zsh Users List <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=uYoE/+WVFQcvBtj77Lt/ZgMKqHiE3wxSdM9VNa1CkM0=; b=jFROunw4Gapns8c6Htl35VDdqQTkrWFne/Lf/ELiyQ7YVQsf4Udq4sy6qQT9vgDoil 5Mt3BfxQZMJon/fTcG2pBWu9WG4+R+Ubz9sIxCua1C7uMEGFmkVRheOn7eD3TscpZL6n KIFZ6Jiw5F6t3MyIBs6khMBcQxMItDQ/Rax26uBGoZ9UrNvwOhhYsjjAGG9smpnmf3EV 1y7Nz3Mz766gqMuEA75JRRrIFK1R4HYqmuLMPx2kNFWP1mSELNouleQaP+rbIQq1i3d0 1kB6+8+IphUiv6dTvCDsfZpta5DzGNx8/6Q15C6hX0CWlp9KALiekajljZDW/2LHtToy anMA==
- In-reply-to: <227BE55C-4B7E-4CAD-B212-D48F663BC09D@icloud.com>
- 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>
- Mail-followup-to: Aryn Starr <whereislelouch@xxxxxxxxxx>, Zsh Users List <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <0628A0E5-63F0-481E-AEC2-962658134620__9154.55124793283$1566242642$gmane$org@icloud.com> <20190820073701.wcrxekoejx7xi77x@chaz.gmail.com> <227BE55C-4B7E-4CAD-B212-D48F663BC09D@icloud.com>
2019-08-20 12:21:44 +0430, Aryn Starr:
> Indeed, using `echo "${$(cat path | iconv -f UTF-8-MAC -t UTF-8):h}”/*` works!
> Seeing that `zsh -f` works correctly without this shenanigan, is there an option that disables this? I have oh-my-zsh installed, which might have set an option to that effect ...
[...]
[back on-list]
You probably have the nocaseglob option on. That means that zsh
does read the content of directories to find matches and since
zreaddir returns é in its precomposed form (U+00E9), it matches
neither e<U+0301> (the decomposed form of é) nor E<U+0301> (the
decomposed form of É).
Not much you can do about it (except that iconv conversion or
install a proper OS ;-)).
If you disable that zsh work around (for which I think you
need to recompile zsh), then you'll probably get worse problems.
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author