guix-commits
[Top][All Lists]
Advanced

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

06/06: bash completion: Complete file names after 'guix package -p'.


From: guix-commits
Subject: 06/06: bash completion: Complete file names after 'guix package -p'.
Date: Mon, 21 Sep 2020 17:38:11 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 92951bf46c42021f6f6521839c9c4ff2f88b8386
Author: Fulbert <fulbert@bluewin.ch>
AuthorDate: Wed Sep 16 18:10:56 2020 +0200

    bash completion: Complete file names after 'guix package -p'.
    
    * etc/completion/bash/guix (_guix_complete): Add _guix_is_dash_p.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 etc/completion/bash/guix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index 98d2048..aa217bd 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -181,7 +181,7 @@ _guix_complete ()
        *)
            if _guix_is_command "package"
            then
-               if _guix_is_dash_L || _guix_is_dash_m
+               if _guix_is_dash_L || _guix_is_dash_m || _guix_is_dash_p
                then
                    _guix_complete_file
                elif _guix_is_removing



reply via email to

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