civodul pushed a commit to branch master
in repository guix.

commit 92951bf46c42021f6f6521839c9c4ff2f88b8386
Author: Fulbert <[email protected]>
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 <[email protected]>
---
 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