unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 36868@debbugs.gnu.org
Cc: solene@perso.pw
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	[thread overview]
Message-ID: <875yybh4rq.fsf@gnu.org> (raw)
In-Reply-To: <20210615225815.2fd9ad77@perso.pw> (Solene Rapenne via Bug reports for's message of "Tue, 15 Jun 2021 22:58:18 +0200")

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’.




  reply	other threads:[~2021-06-18 10:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-31  2:44 bug#36868: guix system build autocompletes with package list Jesse Gibbons
2021-06-15 20:58 ` bug#36868: [PATCH] etc: completion: remove package list when using completion on guix system build Solene Rapenne via Bug reports for GNU Guix
2021-06-18  9:59   ` Ludovic Courtès [this message]
2021-06-18 10:33     ` Solene Rapenne via Bug reports for GNU Guix
2021-06-20 21:10       ` Ludovic Courtès

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=875yybh4rq.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=36868@debbugs.gnu.org \
    --cc=solene@perso.pw \
    /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).