unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Fulbert <fulbert@bluewin.ch>
To: 43456@debbugs.gnu.org
Subject: [bug#43456] guix bash-completion -> add --profile to "package" completion
Date: Wed, 16 Sep 2020 20:48:55 +0200	[thread overview]
Message-ID: <20200916184855.GA17918@bluewin.ch> (raw)

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

  Hello!

  I'm using a modified guix bash-completion as the upstream does not
complete for --profile for the "package" command.

  … there probably is a good reason for this, but just in case…

  Best regards and thanks for Guix,
  Fulbert

[-- Attachment #2: guix-bash-completion.patch --]
[-- Type: text/plain, Size: 880 bytes --]

From a8eb589640d1fc1757b3d91da73eea1c3e6fe9ba Mon Sep 17 00:00:00 2001
From: Fulbert <fulbert@bluewin.ch>
Date: Wed, 16 Sep 2020 18:10:56 +0200
Subject: [PATCH] =?UTF-8?q?=20Sur=20la=20branche=20for-patch=20=09modifi?=
 =?UTF-8?q?=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20guix?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 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 98d20484f7..aa217bd318 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -181,7 +181,7 @@ _guix_complete ()
 	*)
 	    if _guix_is_command "package"
 	    then
-		if _guix_is_dash_L || _guix_is_dash_m
+		if _guix_is_dash_L || _guix_is_dash_m || _guix_is_dash_p
 		then
 		    _guix_complete_file
 		elif _guix_is_removing
-- 
2.20.1


             reply	other threads:[~2020-09-16 21:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-16 18:48 Fulbert [this message]
2020-09-21 21:36 ` bug#43456: guix bash-completion -> add --profile to "package" completion 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=20200916184855.GA17918@bluewin.ch \
    --to=fulbert@bluewin.ch \
    --cc=43456@debbugs.gnu.org \
    /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).