From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OBGlL8puzGCuCAEAgWs5BA (envelope-from ) for ; Fri, 18 Jun 2021 12:00:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CNI2K8puzGCBWgAAB5/wlQ (envelope-from ) for ; Fri, 18 Jun 2021 10:00:42 +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 281C08F91 for ; Fri, 18 Jun 2021 12:00:42 +0200 (CEST) Received: from localhost ([::1]:53610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luBIm-0003LX-F2 for larch@yhetil.org; Fri, 18 Jun 2021 06:00:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luBIB-0003Iu-GH for bug-guix@gnu.org; Fri, 18 Jun 2021 06:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luBIB-0005ZT-4y for bug-guix@gnu.org; Fri, 18 Jun 2021 06:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luBIB-00051J-3e for bug-guix@gnu.org; Fri, 18 Jun 2021 06:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#36868: [PATCH] etc: completion: remove package list when using completion on guix system build Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 18 Jun 2021 10:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36868 X-GNU-PR-Package: guix X-GNU-PR-Keywords: easy To: 36868@debbugs.gnu.org X-Debbugs-Original-To: Solene Rapenne via Bug reports for GNU Guix X-Debbugs-Original-Cc: Solene Rapenne , 36868@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162401039819244 (code B ref -1); Fri, 18 Jun 2021 10:00:03 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jun 2021 09:59:58 +0000 Received: from localhost ([127.0.0.1]:55827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luBI5-00050K-Oo for submit@debbugs.gnu.org; Fri, 18 Jun 2021 05:59:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:40768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luBI3-00050D-UU for submit@debbugs.gnu.org; Fri, 18 Jun 2021 05:59:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luBI3-00036O-IY for bug-guix@gnu.org; Fri, 18 Jun 2021 05:59:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52684) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luBI2-0005RE-HT; Fri, 18 Jun 2021 05:59:54 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53058 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luBI2-00016C-9w; Fri, 18 Jun 2021 05:59:54 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190730204433.332b57c9@gmail.com> <20210615225815.2fd9ad77@perso.pw> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Prairial an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 18 Jun 2021 11:59:53 +0200 In-Reply-To: <20210615225815.2fd9ad77@perso.pw> (Solene Rapenne via Bug reports for's message of "Tue, 15 Jun 2021 22:58:18 +0200") Message-ID: <875yybh4rq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: solene@perso.pw Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624010442; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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; bh=46gpd9gDXQ2lEerC4f8UgH3hqaq8lalPahUw7Ax6eyI=; b=N++O/0CxoPg64aNBjl0AKysWvKT03Cp9h9Kd0TV3ZtNQlS/4iOR9m7RLsO7L531qcVA4lI /+OopR6xUiNthbKOWui0fHJWrcA25moyQXbuXPUe0xNsX86uZ7rPeXj7IQcnX9btYzxw2R vcR23ps88wn8WPplSzfR21tlRnCd+GBaO+XlMrlNir5imHyOiD13f+LmEUxdTQ51lymvI/ MgTA7sYF9OusSJLPO7qgM31CeoigeBtpoAAvN3PAolQUK8tl1QV2HGVq3yaHk+SPmn8vDR fAzu5nxnW5ph8peQONVuMKJLqzd963VTx+vhYdkOOs0OYJu25cyrK0UjwXp4/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624010442; a=rsa-sha256; cv=none; b=m0jYZ8xbakZc2JW6MVjwDUgUgIknnZpCqdvcQdNEGUYZT+8lCfD5s+bS5ETSDpJTgeFhd9 dVvRQLVnvIRKw9Pz57z9jffLfq2cMPTQzntt68wQpWtkgLiQ2wnQjatH7tiGfvcWrrXtGc mvD0DcW26HoVo+n8WdcodxzcixYDQuwiYseKhy8aaGDhomSb6fnOgR4WqQEbvMJjPfdF5Q CehU5+auwEaOh5Vb285GX6uDbzpC3v5hEvRGUvPOeC8Ez6oeCP4uSXtXEHqyDgn4cnZQxB L6rYIGUWU3uYW0eFtuax2c+KXsmYdkjPsEglLdrXjU0yIizC3tPAONj3SgLZ9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 281C08F91 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: maq6ug59Xsvx Hi, Solene Rapenne via Bug reports for GNU Guix 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=E2=80=99.