unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#43456] guix bash-completion -> add --profile to "package" completion
@ 2020-09-16 18:48 Fulbert
  2020-09-21 21:36 ` bug#43456: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Fulbert @ 2020-09-16 18:48 UTC (permalink / raw)
  To: 43456

[-- 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#43456: guix bash-completion -> add --profile to "package" completion
  2020-09-16 18:48 [bug#43456] guix bash-completion -> add --profile to "package" completion Fulbert
@ 2020-09-21 21:36 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-09-21 21:36 UTC (permalink / raw)
  To: Fulbert; +Cc: 43456-done

Hi Fulbert,

Fulbert <fulbert@bluewin.ch> skribis:

>   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&

No, there was no good reason.  :-)

>>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 +-

I tweaked the commit message to match our conventions and applied it.

Thank you!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-21 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 18:48 [bug#43456] guix bash-completion -> add --profile to "package" completion Fulbert
2020-09-21 21:36 ` bug#43456: " Ludovic Courtès

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git