bash completion: Complete ‘guix size’ file names.

* etc/completion/bash/guix (_guix_complete): Complete store file names
after the ‘size’ command.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-03 13:59:54 +02:00
parent 9e3355d2a3
commit d71cfaea30
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -279,6 +279,9 @@ _guix_complete ()
elif [[ "$command" = "download" || "$command" = "gc" || "$command" = "hash" ]]
then
_guix_complete_file
elif [[ "$command" = "size" ]]
then
_guix_complete_available_package_or_store_file "$word_at_point"
elif [[ "$command" = "system" ]]
then
case $COMP_CWORD in