From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 815415b6 for ; Tue, 20 Aug 2019 08:22:34 +0000 (UTC) Received: (qmail 29779 invoked by alias); 20 Aug 2019 08:22:27 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24162 Received: (qmail 19097 invoked by uid 1010); 20 Aug 2019 08:22:27 -0000 X-Qmail-Scanner-Diagnostics: from mail-wm1-f45.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25545. spamassassin: 3.4.2. Clear:RC:0(209.85.128.45):SA:0(-2.0/5.0):. Processed in 1.283102 secs); 20 Aug 2019 08:22:27 -0000 X-Envelope-From: stephane.chazelas@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.128.45 as permitted sender) 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state: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=e/4XSemXwBvm3e/JYgDGqt4UEujl8aj2l3aiskAhJnlsZDboAWOEY8R6cPkKB6TJFk 2WTNVQOEGvFLugZjAEEB+DmhxjQGC+o55IScAgbfiopga7/mO2jpt+fw34K0P3tkot5a vw8icTjgrixkbwNYNwbRcMXC94tX/b8Nl0NG9OShQRnA5gQOnFBORBOhmn3MtX4RnXyk Jon9JnIyhfu5qg67FIaJHl835rVD/9d/2vEyZAeZg/uvuXRsMsjk8kO6DguVm6fHrREO 3YfW5Tb/9JUFyJayJpuBmZVioH07jptdizjKPjkjlq1PdNOdZMKY/eZ0PcSaO74SMNUV YGug== X-Gm-Message-State: APjAAAU2actBx1A7RZ4tHqQpF1dkxh6Y/45pg8QQbTkxWBb8Zv98HlL1 GI3MBw4gzbRHmmrls0pvQLg= X-Google-Smtp-Source: APXvYqwU35MU+9f/3517z4EZ5h5XaPsdV0IlwXfBB6hHwtCW8PTF8jA5KvVSBIHKewcY0ksKaHcVag== X-Received: by 2002:a1c:790b:: with SMTP id l11mr25287505wme.3.1566289312607; Tue, 20 Aug 2019 01:21:52 -0700 (PDT) Date: Tue, 20 Aug 2019 09:21:50 +0100 From: Stephane Chazelas To: Aryn Starr Cc: Zsh Users List Subject: Re: Help wanted with debugging a weird glob behavior Message-ID: <20190820082150.usmq3gmh3wdipg3g@chaz.gmail.com> Mail-Followup-To: Aryn Starr , Zsh Users List 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <227BE55C-4B7E-4CAD-B212-D48F663BC09D@icloud.com> User-Agent: NeoMutt/20171215 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 (the decomposed form of é) nor E (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