--- 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.
signature.asc
Description: PGP signature
--- End Message ---