From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-users-return-23635-ml=inbox.vuxu.org@zsh.org X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.1 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 568e4d58 for ; Sun, 16 Sep 2018 12:00:19 +0000 (UTC) Received: (qmail 9072 invoked by alias); 16 Sep 2018 12:00:02 -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: 23635 Received: (qmail 8903 invoked by uid 1010); 16 Sep 2018 12:00:02 -0000 X-Qmail-Scanner-Diagnostics: from mx2.mailbox.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(80.241.60.215):SA:0(-2.6/5.0):. Processed in 3.311538 secs); 16 Sep 2018 12:00:02 -0000 X-Envelope-From: ml.zsh-workers.454@bitraven.io X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Virus-Scanned: amavisd-new at heinlein-support.de From: ml.zsh-workers.454@bitraven.io To: zsh-users@zsh.org Subject: change in zstyle file-patterns handling between 5.5.1 & 5.6(.2)? Date: Sun, 16 Sep 2018 13:50:37 +0200 Message-ID: <25E31A55-5918-42B8-83B4-DDC58A2D52EA@bitraven.io> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_C8C47466-CAFE-4421-9117-3626AD4AEC4F_=" --=_MailMate_C8C47466-CAFE-4421-9117-3626AD4AEC4F_= Content-Type: text/plain; format=flowed; markup=markdown Content-Transfer-Encoding: quoted-printable Hi While I was trying out how to separate folders and files when completing = `./` (based on [1]), I noticed a difference in behaviour between = 5.5.1 and 5.6.2. - **minimal_zshrc.sh**: ``` autoload -Uz compinit && compinit zstyle ':completion:*:*:*:*:*' group-name '' zstyle ':completion:*:descriptions' format '%B%F{red}%d%f%b' zstyle ':completion:*:*:-command-:*:*' file-patterns = '*(#q-*):executables:Executables *(-/):directories:Directories' ``` - 5.5.1: ``` > /usr/local/Cellar/zsh/5.5.1/bin/zsh -f % source minimal_zshrc.sh % ./ Executables some_script* Directories directory/ folder/ ``` - 5.6.2: ``` > /usr/local/Cellar/zsh/5.6.2/bin/zsh -f % source minimal_zshrc.sh % ./ executable file directory/ some_script* folder/ ``` Same issue for 5.6 & 5.6.1 Seems like zsh is using a different group in 5.6 ... but a quick look = through the **NEWS** file in the zsh repo did not give me any idea why = the versions differ in their behaviour here. Is this an intentional change? How can I get the separation back in 5.6 (ideally in a way that also = works in 5.5)? [1]: = https://superuser.com/questions/1326184/why-does-a-value-hyphen-in-tag-or= der-style-prevent-matching-of-the-exec --=_MailMate_C8C47466-CAFE-4421-9117-3626AD4AEC4F_=--