aboutsummaryrefslogtreecommitdiff
path: root/etc/completion/bash
diff options
context:
space:
mode:
authorFulbert <fulbert@bluewin.ch>2020-09-16 18:10:56 +0200
committerLudovic Courtès <ludo@gnu.org>2020-09-21 23:33:49 +0200
commit92951bf46c42021f6f6521839c9c4ff2f88b8386 (patch)
tree7f99d21c3b1f49f0b4f6f991c6b842ec27da49c1 /etc/completion/bash
parentd076ddc560b61c77b63ae84059782cf2330893cc (diff)
downloadguix-92951bf46c42021f6f6521839c9c4ff2f88b8386.tar
guix-92951bf46c42021f6f6521839c9c4ff2f88b8386.tar.gz
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>
Diffstat (limited to 'etc/completion/bash')
-rw-r--r--etc/completion/bash/guix2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index 98d20484f7..aa217bd318 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