From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 26660 invoked from network); 30 Apr 2020 16:47:16 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 30 Apr 2020 16:47:16 -0000 Received: (qmail 23601 invoked by alias); 30 Apr 2020 16:46:24 -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: 24817 Received: (qmail 4257 invoked by uid 1010); 30 Apr 2020 16:46:24 -0000 X-Qmail-Scanner-Diagnostics: from mail-qk1-f172.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25793. spamassassin: 3.4.4. Clear:RC:0(209.85.222.172):SA:0(-1.9/5.0):. Processed in 1.67762 secs); 30 Apr 2020 16:46:24 -0000 X-Envelope-From: dana@dana.is 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.222.172 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=FxdiqbXmCMRPzijZQHXPbVINzEnExCXmF4cOAjnytIs=; b=o3S5YlNweZ7272qNLe965sEkBotOFuU4NNCM3BgO6d3gSohkKZFpaV9E7iPnXBWMIo 5Z5CSAG8oLxzZLzHg/jcZUZkEyha1rjPc3aF8qn3XA28rhDyjU82It+nZ1Nl6aRvD2Kz AtXdrc0CMhn5+5/DhdWkIx5dCkXQuXZ5YXZJjA43jRxjmX+d49u11k03yfY7rR66a9iB 1BD/K6xoKVvGcYD4B8xDaCKkrNCNx8gHaTiaT1Ns5zANYRM0fQW7qdxyNIwxJ3Ezf4IE aP+4iCtPUKd7c3UfzoMBz3pZ+44W8x7aAla4QWx1od2WRLSc7OBo/7uDIfSrQ14PCgfx 1whg== X-Gm-Message-State: AGi0PubCZr8Dc4mZspVj+7b420H/MHbrCyi/ALKTBeekPZFqHeau+ZBI IyEYaIOHbhkNHhP7vY1oNgQmmQ== X-Google-Smtp-Source: APiQypLNDnnYiiFMzTVV+nxF9y+ji4JjCC/z0QklK0aGxYIrhLox2yoeqDDVhuxLyoxHXExvqcwLFA== X-Received: by 2002:a05:620a:65a:: with SMTP id a26mr4285804qka.323.1588265147862; Thu, 30 Apr 2020 09:45:47 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: file-list and list-colors From: dana In-Reply-To: Date: Thu, 30 Apr 2020 11:45:45 -0500 Cc: Zsh-Users List Content-Transfer-Encoding: quoted-printable Message-Id: <3E029A00-9EFA-4FE5-A5EE-3AD05B8E58EB@dana.is> References: To: Pier Paolo Grassi X-Mailer: Apple Mail (2.3608.60.0.2.5) On 29 Apr 2020, at 03:29, Pier Paolo Grassi = wrote: > Since I have added the file-list style the results are not colored = anymore. > Is it possibile to make those styles work together? I don't think so. file-list uses `compadd -l`, which doesn't apply = list-colors styles based on file names/types (only those based on display-string patterns). It looks like it'd be easy to change that, but maybe there = are other functions designed with the current behaviour in mind? Even if it = was changed, since there's no way to communicate to the list-colors code = what part of the display string is the file name, it can only colour the entire = line, which might look a bit weird dana