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>
This commit is contained in:
Fulbert 2020-09-16 18:10:56 +02:00 committed by Ludovic Courtès
parent d076ddc560
commit 92951bf46c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -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