bash completion: Complete files names after 'guix download'.

* etc/completion/bash/guix (_guix_complete): When the command is "download",
use __guix_complete_file.
This commit is contained in:
Marius Bakke 2017-08-20 12:57:00 +02:00
parent 2e4569829e
commit ed8634c404
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 3 additions and 0 deletions

View File

@ -158,6 +158,9 @@ _guix_complete ()
else
_guix_complete_available_package "$word_at_point"
fi
elif _guix_is_command "download"
then
_guix_complete_file
elif _guix_is_command "system"
then
case $COMP_CWORD in