guix-commits
[Top][All Lists]
Advanced

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

03/04: bash completion: Complete files names after 'guix download'.


From: Marius Bakke
Subject: 03/04: bash completion: Complete files names after 'guix download'.
Date: Tue, 22 Aug 2017 17:19:11 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit ed8634c404410ed5e0d3ab06e43bd50d4eed9c42
Author: Marius Bakke <address@hidden>
Date:   Sun Aug 20 12:57:00 2017 +0200

    bash completion: Complete files names after 'guix download'.
    
    * 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 6a5f281..6b84193 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



reply via email to

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