From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29098 invoked from network); 16 Jul 2022 23:33:34 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 16 Jul 2022 23:33:34 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1658014414; b=KAAMwm18WPcDzSWN5ZiCHgOlPgRdC2HGW84bNfZ5MK07qHp+9Kw4UZYXmTRijEZqlQ+vzKFlgM D7wlJnhpDcvGTxErSoKa9SDrG2ByMtno/i8ZH0LRCN3yS+erS5caHN1O7FLFVfp2DXbwYIapul GFOHJnW5zGXNJNZWjcKglKd5wM/hoMxR1yl19XdbSBrh9iMeGcjXkakTTZXe8EsNDn3aYgd3ot BrIHu/EHUMhpPZWwtlGZKIRQu6MpHncQ9h2HNAy6MNLv8LH0ADW507JhFjiVkeGZYWLB+FAGdc AB5I+btgADGmv0FfVs+IPZ3XqVt+c3JwrLD33k9NHDGH4g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-io1-f45.google.com) smtp.remote-ip=209.85.166.45; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1658014414; bh=OEKdmTK3hz48Kl1ya/Ok6tTiBiqTm3sm5XWsxEbT060=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=dMj0OITbmOF8M7YRzAmYOgjAAeM8/COLlyiV4OrXHKBXpmqf5yTthhPyswRPNpAWIpjqbEoY5m mSKjmZ85/Gk4TsyxSS+ujs5jpT5rL1duGxoReOhEL8Rk5SB5upEpHxa1NrpLhwVpwhXlQkk3k7 cIAqzQBnHrPqhN35l7MaP2G54fdjswLwC3G6pd/POA9J3HO02uFfup5yoJmRVS/iHdyKvqP2DV dxOOOiZWxLvyzm8jTQv2KtMLGC4rVANhGQvu3jRPOWOnOoazQjWzqAyJSJLIF8ieX2VxJAynTD EExxV85M/9Z4soAZ/Wzc6VA/tLb6XMo++0J8sNcGQ0EoHQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=/SjTXHyeUkwVCYaFeDj/QzSd6IXkynlscayetdynvaQ=; b=rN9MVEVcQrAJjb4hnT/jB9JTsl HwtZ+T0zmvk3+9Dxsu9jAUME1KhqufYe9d8h+bslj3dNPhxw473YHhUiJ2lVEhTfpF2N3qR2gPvrq 9gdyzyLoTn7q5+QNkzjOnGBkXbu6L5GAVI2RsOZfAsvCERRsWmb0IuO7xk100c/Ww48pAgN2f3qng MfyiwoG/ts7rOvnWQlahefOeqShcCXcyt7NBPoI3k9XNVxTqF66Yb75l/uSU+soIpJEYBeE4+t0ex 0jfN41O/YXvIliMXuC+Bpl4uwfaTjRFertJXvxEZqvseZpOOcA/2Qv6PEhtjjl/fF12J61xWBDkSn eKvo7AFQ==; Received: from authenticated user by zero.zsh.org with local id 1oCrHx-00049n-QU; Sat, 16 Jul 2022 23:33:33 +0000 Authentication-Results: zsh.org; iprev=pass (mail-io1-f45.google.com) smtp.remote-ip=209.85.166.45; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-io1-f45.google.com ([209.85.166.45]:40537) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1oCr7B-0003Bd-IQ; Sat, 16 Jul 2022 23:22:26 +0000 Received: by mail-io1-f45.google.com with SMTP id n7so6613952ioo.7 for ; Sat, 16 Jul 2022 16:22:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/SjTXHyeUkwVCYaFeDj/QzSd6IXkynlscayetdynvaQ=; b=bl3uaYG2ckpKVlu03b/bIRhvIwApiBzHX9mC7ax3U0FstK/DgbEz75CgqMvSvhGLmp 0pyk5OuPRxCurLCq28BJMQzDD0M3pBa1bZzjv3L6/G+6XkrHyffi02UdMi9FC9qbxbAY 7VtVSF/mYs+Vnxar2Soj4CFWtsL9N1YPg6FUwzRIAyaHlJsUsJn0kmGLBi+q0OLop5bz 5/h52Jm14lwkgWtFrpjjopL8TMRzeRouKzVCDm0YFoaARlroZ8nqpxspQovsfI43v9YS mNtMfyBIvu5s88lOBQQFZUr1nhN7gtSkvFgBlrjgETTAZbs8a30mlmTMgDHxsq8JCBgV daug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/SjTXHyeUkwVCYaFeDj/QzSd6IXkynlscayetdynvaQ=; b=47qoxTyYjCfRY9Ajh6BydfYQhSw6Z9uZV2l2a8XH8H7HbAEcClQm49xh/pE+AxK9oE KY6sEGTps7/8Ti6l4+ILtShQO9tAcDRIQUYuNLYAICw8i04Og6ieSfQwTqoD9VPCEIrs cJqqjwi7+G2bYehcTT8pxwMHWOnQHnF1vaasBXLTLk5WaxKibfBBzJWGrBQPRXW2eNmg HtPCq/byyCGIAt6d+JXuNL6k4nzDawdKtcLsGhlvVT8723HwrB6rgnredJXb2x/MqHze jOck/mWUmBoMoH8GjP65V/X2VsseApNqU7p16r4MSfvQ3FdZauZFcjVZOvDtZhZaYFuk C4Fg== X-Gm-Message-State: AJIora8cV3TdaeE7VA66MvQ3i7x7EftrIsalJorP/1uBJ4yQwZ8p0KEq sp8ZGtgttnf/+HNiRQ0qRaKQcIgTYLs8TitdNMLl8wN+ X-Google-Smtp-Source: AGRyM1sZBtv2n1XyTDpn1/cvZnw6dMmSnlUzmSZqh89Ieysj3p16/nsP1FG/oeFQo09nb8H2Em54ztU+f7DKj7Qfb6o= X-Received: by 2002:a05:6602:180c:b0:67c:296:2561 with SMTP id t12-20020a056602180c00b0067c02962561mr702742ioh.173.1658013744330; Sat, 16 Jul 2022 16:22:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pier Paolo Grassi Date: Sun, 17 Jul 2022 01:22:13 +0200 Message-ID: Subject: Re: file-list completion To: Bart Schaefer Cc: Zsh-Users List Content-Type: multipart/alternative; boundary="000000000000437c6005e3f468f8" X-Seq: 27893 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --000000000000437c6005e3f468f8 Content-Type: text/plain; charset="UTF-8" Thanks Bart, I will investigate from there Il giorno dom 17 lug 2022 alle 01:09 Bart Schaefer < schaefer@brasslantern.com> ha scritto: > On Sat, Jul 16, 2022 at 8:24 AM Pier Paolo Grassi > wrote: > > > > Hello, I noticed that completion with file-list style shows a maximum of > 8 digits for the size, truncating the leftmost ones. Does anyone knows some > way to prevent this, or to customize the style (besides what is already in > the manual) to achieve better data presentation, eg showing human-readable > number format? > > Discussed in https://zsh.org/users/26250 and follow-ups. > > Short answer, you can override a function to alter the formatting, but > you can't get human-readable sizes (unless you massage them yourself, > I guess). > -- Pier Paolo Grassi --000000000000437c6005e3f468f8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Bart, I will investigate from there

=
Il giorno = dom 17 lug 2022 alle 01:09 Bart Schaefer <schaefer@brasslantern.com> ha scritto:
On Sat, Jul 16, 2022 at 8:24 AM Pier Paolo Grassi= <pierpaolog@g= mail.com> wrote:
>
> Hello, I noticed that completion with file-list style shows a maximum = of 8 digits for the size, truncating the leftmost ones. Does anyone knows s= ome way to prevent this, or to customize the style (besides what is already= in the manual) to achieve better data presentation, eg showing human-reada= ble number format?

Discussed in https://zsh.org/users/26250 and follow-ups.

Short answer, you can override a function to alter the formatting, but
you can't get human-readable sizes (unless you massage them yourself, I guess).
--
Pier Paolo Grassi
--000000000000437c6005e3f468f8--