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:
parent
2e4569829e
commit
ed8634c404
|
@ -158,6 +158,9 @@ _guix_complete ()
|
||||||
else
|
else
|
||||||
_guix_complete_available_package "$word_at_point"
|
_guix_complete_available_package "$word_at_point"
|
||||||
fi
|
fi
|
||||||
|
elif _guix_is_command "download"
|
||||||
|
then
|
||||||
|
_guix_complete_file
|
||||||
elif _guix_is_command "system"
|
elif _guix_is_command "system"
|
||||||
then
|
then
|
||||||
case $COMP_CWORD in
|
case $COMP_CWORD in
|
||||||
|
|
Loading…
Reference in New Issue