guix-commits
[Top][All Lists]
Advanced

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

01/02: bash completion: Complete files names after 'guix build -L'.


From: Oleg Pykhalov
Subject: 01/02: bash completion: Complete files names after 'guix build -L'.
Date: Tue, 3 Jul 2018 00:01:24 -0400 (EDT)

wigust pushed a commit to branch master
in repository guix.

commit 9b0a755f642542dd96065ad05ec9d844d8077fd7
Author: Oleg Pykhalov <address@hidden>
Date:   Sat Jun 30 19:49:29 2018 +0300

    bash completion: Complete files names after 'guix build -L'.
    
    * etc/completion/bash/guix (_guix_complete): Complete files names after 
'guix
    build -L'.
---
 etc/completion/bash/guix | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index 70430c5..cc18fbc 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -167,6 +167,12 @@ _guix_complete ()
                else
                    _guix_complete_available_package "$word_at_point"
                fi
+            elif _guix_is_command "build"
+            then
+                if _guix_is_dash_L
+                then
+                    _guix_complete_file
+                fi
            elif _guix_is_command "download"
            then
                 _guix_complete_file



reply via email to

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