summaryrefslogtreecommitdiff
path: root/etc/completion/bash/guix
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-07-24 19:56:35 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-07-24 19:56:35 +0200
commit706ae8e15c8d36b0aee7c19c54c143d3e17f5784 (patch)
treee9fe8ebfb1417d30979b5413165599f066a1c504 /etc/completion/bash/guix
parent3e95125e9bd0676d4a9add9105217ad3eaef3ff0 (diff)
parent8440db459a10daa24282038f35bc0b6771bd51ab (diff)
Merge branch 'master' into core-updates
Diffstat (limited to 'etc/completion/bash/guix')
-rw-r--r--etc/completion/bash/guix12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index 70430c5c95..a593b8112c 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
@@ -189,6 +195,12 @@ _guix_complete ()
elif _guix_is_command "hash" || _guix_is_command "gc"
then
_guix_complete_file
+ elif _guix_is_command "weather"
+ then
+ if _guix_is_dash_m
+ then
+ _guix_complete_file
+ fi
else
_guix_complete_available_package "$word_at_point"
fi