From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iOPXBxtkdWG4ewAAgWs5BA (envelope-from ) for ; Sun, 24 Oct 2021 15:48:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gGaOAxtkdWGOAwAA1q6Kng (envelope-from ) for ; Sun, 24 Oct 2021 13:48:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 917AF2F217 for ; Sun, 24 Oct 2021 15:48:10 +0200 (CEST) Received: from localhost ([::1]:41718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1medr7-0004Ma-Pi for larch@yhetil.org; Sun, 24 Oct 2021 09:48:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1medr4-0004MB-9R for guix-patches@gnu.org; Sun, 24 Oct 2021 09:48:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1medr0-0002gk-Dg for guix-patches@gnu.org; Sun, 24 Oct 2021 09:48:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1medr0-0007KK-Bw for guix-patches@gnu.org; Sun, 24 Oct 2021 09:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51373] [PATCH] etc: completion: Filter gratuitous spaces from available packages. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Oct 2021 13:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51373 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 51373@debbugs.gnu.org X-Debbugs-Original-Cc: 51373@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163508324427975 (code B ref -1); Sun, 24 Oct 2021 13:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Oct 2021 13:47:24 +0000 Received: from localhost ([127.0.0.1]:38213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1medqO-0007H8-B1 for submit@debbugs.gnu.org; Sun, 24 Oct 2021 09:47:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:44530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1medqL-0007Gs-Qu for submit@debbugs.gnu.org; Sun, 24 Oct 2021 09:47:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1medqL-0003w0-JO for guix-patches@gnu.org; Sun, 24 Oct 2021 09:47:21 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:34158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1medqF-00027l-9c for guix-patches@gnu.org; Sun, 24 Oct 2021 09:47:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=AKCsO+YhWJcRW LFXUMapKfBMexhjnSd4WwyVzbm78Vo=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=gYi7jCG/jIvic1Ia5qa3jqIEjacSCtp4kK8zxy /DoXiHXC7ZSp9c0Nmr4QSyp1099C71DUZBHpaRgeviyASFr1m6qTi7s+pvs4PeFIHZGEqD mqS2kH6dLqXszQeYmhJRNK8McDR37vKueSqsv8Kd5Nzk73XU/mGc+F9tjFzN5GIHY/7ZbC N9Scybn96td5zQCcM2QH2tAmEy+7ZYBBq8rSoUVEwOqj6JpbkAqXZI3fZjrjIg9/fR+m+p Bx0oaHeHHiP7UyqfbAUXbWwn6ok89RXG0pJINfQHPI54rUYBqw+fr3JJxl2JMe5i8Vl0ON QDYelD6VWRM7qNAVaS56fisg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id d5242418 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 24 Oct 2021 13:47:08 +0000 (UTC) References: Date: Sun, 24 Oct 2021 15:43:44 +0200 In-reply-to: BIMI-Selector: v=BIMI1; s=default; Message-ID: <87zgqyilg5.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635083290; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=AKCsO+YhWJcRWLFXUMapKfBMexhjnSd4WwyVzbm78Vo=; b=rf789Xds+UsQcAQZsMAoEQd7HS7mD94xMhCHyNmYU164taNJxIF0dASgAJYvEL3lXdLX8g Hz3hc6SjFjJTMTLdD8sJ3hHv7NRcEiZ/dTpvSuiLcjInHrID9DpOhYgTl8n/3BAFUDmC5E Qw4bdkGOsXpWKt9u0BNxXrAPl/bRjuDoLVwy0F6VtvfF6TbIxiXhDi5ZMkUmLKesJsJcJ7 tJpG9yBwHD/PnKcsYi2anRUAdaT/tBNCTeZWGWoyN07wSD5FuiPLdYxvjRwhAcawN+X/Ou MkfenhgUjB6NPyps6lBGwgqDxcbZHhZAEV1BqSHcs++ANpARKDihQcUHCsi7sQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635083290; a=rsa-sha256; cv=none; b=pbxhbtk1S2snGpvCf/TwRLjXjnG77G+Rco0AiqYIv2LBs6pvh0Ymz+Nm0kHg34N/30Jomt S8ScKxPFCNNceNP4vEZZm8wzNeJu8MBq6Urn9Wz6VecVrPVWLE8LISasW/nlwAyUs+CMrW UFDxx4Ex+tSbvE2xUtuMfTp8VyWDrbukHfrKRL98nROq6xRWHzspdWh1sNM3KgD76V+smR Q0w4FP1SuMOnnjqRK21+e0sbG0gdSeXoqL5fH65mywTyLXQwrbOlYkK5jxk64BVjDtq8Qh vuHCTaz1W+DAkyTetzzqv994NSMahg2PXayZ9qnJMqgsPjcyVNducySr7xzkMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b="gYi7jCG/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -4.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b="gYi7jCG/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 917AF2F217 X-Spam-Score: -4.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ndw9gaxLmEbe --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Liliana Marie Prikler =E5=86=99=E9=81=93=EF=BC=9A > + _guix_available_packages=3D(${${(f)"$(guix package -A |=20 > cut -f1 | sed -e 's/ //g')"}}) Does ZSH support something like bash's "${foo[@]// /}"" to avoid=20 spawning sed altogether? Otherwise LGTM! Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYXVj6g0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15NDEA/1M7ewpJ7+Hs6ynrEcLfhoNUu9FzpO35lxzsgqhY BusIAQDNGqZ8qj98ONPQZ/CKT/MMi751+ukcKxwIiULpGMVpCQ== =gjjw -----END PGP SIGNATURE----- --=-=-=--