emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#28178: closed ([PATCH] bash completion: Complete f


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#28178: closed ([PATCH] bash completion: Complete files names after 'guix download'.)
Date: Tue, 22 Aug 2017 21:27:03 +0000

Your message dated Tue, 22 Aug 2017 23:26:43 +0200
with message-id <address@hidden>
and subject line Re: [bug#28178] [PATCH] bash completion: Complete files names 
after 'guix download'.
has caused the debbugs.gnu.org bug report #28178,
regarding [PATCH] bash completion: Complete files names after 'guix download'.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
28178: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28178
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#28178] [PATCH] bash completion: Complete files names after 'guix download'. Date: Tue, 22 Aug 2017 23:26:43 +0200 User-agent: Notmuch/0.25 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu)
Ludovic Courtès <address@hidden> writes:

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

Pushed as ed8634c404410ed5e0d3ab06e43bd50d4eed9c42.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]