bash completion: Complete files names after 'guix weather -m'.

* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
weather -m'.
This commit is contained in:
Oleg Pykhalov 2018-06-30 19:50:40 +03:00
parent 9b0a755f64
commit 3a15d0aa9c
No known key found for this signature in database
GPG key ID: 7246E11C69B79569

View file

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