GNU bug report logs - #28178
[PATCH] bash completion: Complete files names after 'guix download'.

Previous Next

Package: guix-patches;

Reported by: Marius Bakke <mbakke <at> fastmail.com>

Date: Mon, 21 Aug 2017 20:49:01 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28178 in the body.
You can then email your comments to 28178 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#28178; Package guix-patches. (Mon, 21 Aug 2017 20:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marius Bakke <mbakke <at> fastmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 21 Aug 2017 20:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: guix-patches <at> gnu.org
Cc: Marius Bakke <mbakke <at> fastmail.com>
Subject: [PATCH] bash completion: Complete files names after 'guix download'.
Date: Mon, 21 Aug 2017 22:48:07 +0200
* etc/completion/bash/guix (_guix_complete): When the command is "download",
use __guix_complete_file.
---
 etc/completion/bash/guix | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index 6a5f281c4..6b84193db 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -158,6 +158,9 @@ _guix_complete ()
 		else
 		    _guix_complete_available_package "$word_at_point"
 		fi
+	    elif _guix_is_command "download"
+	    then
+		 _guix_complete_file
 	    elif _guix_is_command "system"
 	    then
 		case $COMP_CWORD in
-- 
2.14.1





Information forwarded to guix-patches <at> gnu.org:
bug#28178; Package guix-patches. (Tue, 22 Aug 2017 13:09:02 GMT) Full text and rfc822 format available.

Message #8 received at 28178 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 28178 <at> debbugs.gnu.org
Subject: Re: [bug#28178] [PATCH] bash completion: Complete files names after
 'guix download'.
Date: Tue, 22 Aug 2017 15:08:24 +0200
Marius Bakke <mbakke <at> fastmail.com> skribis:

> * etc/completion/bash/guix (_guix_complete): When the command is "download",
> use __guix_complete_file.

Good idea, and LGTM.  Thanks!

Ludo’.




Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Tue, 22 Aug 2017 21:27:03 GMT) Full text and rfc822 format available.

Notification sent to Marius Bakke <mbakke <at> fastmail.com>:
bug acknowledged by developer. (Tue, 22 Aug 2017 21:27:03 GMT) Full text and rfc822 format available.

Message #13 received at 28178-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 28178-done <at> debbugs.gnu.org
Subject: Re: [bug#28178] [PATCH] bash completion: Complete files names after
 'guix download'.
Date: Tue, 22 Aug 2017 23:26:43 +0200
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> Marius Bakke <mbakke <at> fastmail.com> skribis:
>
>> * etc/completion/bash/guix (_guix_complete): When the command is "download",
>> use __guix_complete_file.
>
> Good idea, and LGTM.  Thanks!

Pushed as ed8634c404410ed5e0d3ab06e43bd50d4eed9c42.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 20 Sep 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 270 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.