guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51373] [PATCH] etc: completion: Filter gratuitous spaces from avail


From: Tobias Geerinckx-Rice
Subject: [bug#51373] [PATCH] etc: completion: Filter gratuitous spaces from available packages.
Date: Sun, 24 Oct 2021 15:43:44 +0200

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]