From: Tobias Geerinckx-Rice via Guix-patches via <guix-patches@gnu.org>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 51373@debbugs.gnu.org
Subject: [bug#51373] [PATCH] etc: completion: Filter gratuitous spaces from available packages.
Date: Sun, 24 Oct 2021 15:43:44 +0200 [thread overview]
Message-ID: <87zgqyilg5.fsf@nckx> (raw)
In-Reply-To: <c0d4144fd32fbb11b7b057438dd9342f375b232c.camel@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
Liliana Marie Prikler 写道:
> + _guix_available_packages=(${${(f)"$(guix package -A |
> cut -f1 | sed -e 's/ //g')"}})
Does ZSH support something like bash's "${foo[@]// /}"" to avoid
spawning sed altogether?
Otherwise LGTM!
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
next prev parent reply other threads:[~2021-10-24 13:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-24 12:09 [bug#51373] [PATCH] etc: completion: Filter gratuitous spaces from available packages Liliana Marie Prikler
2021-10-24 13:43 ` Tobias Geerinckx-Rice via Guix-patches via [this message]
2021-10-24 13:57 ` Tobias Geerinckx-Rice via Guix-patches via
2021-10-24 14:47 ` Liliana Marie Prikler
2021-10-24 19:01 ` bug#51373: " Tobias Geerinckx-Rice via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zgqyilg5.fsf@nckx \
--to=guix-patches@gnu.org \
--cc=51373@debbugs.gnu.org \
--cc=liliana.prikler@gmail.com \
--cc=me@tobias.gr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).