[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36868: [PATCH] etc: completion: remove package list when using compl
From: |
Ludovic Courtès |
Subject: |
bug#36868: [PATCH] etc: completion: remove package list when using completion on guix system build |
Date: |
Fri, 18 Jun 2021 11:59:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
Solene Rapenne via Bug reports for GNU Guix <bug-guix@gnu.org> skribis:
> ---
> etc/completion/bash/guix | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
> index 26480e5863..ef98e9feca 100644
> --- a/etc/completion/bash/guix
> +++ b/etc/completion/bash/guix
> @@ -235,7 +235,7 @@ _guix_complete ()
> fi
> elif _guix_is_command "build"
> then
> - if _guix_is_dash_L || _guix_is_dash_m || _guix_is_dash_f
> + if _guix_is_dash_L || _guix_is_dash_m || _guix_is_dash_f ||
> _guix_is_command "system"
It seems to me that if _guix_is_command "build" is true, then
_guix_is_command "system" cannot also be true. WDYT?
Thanks for addressing this longstanding issue!
Ludo’.