guix-patches
[Top][All Lists]
Advanced

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

[bug#28178] [PATCH] bash completion: Complete files names after 'guix do


From: Marius Bakke
Subject: [bug#28178] [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






reply via email to

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