me
/
guix
Archived
1
0
Fork 0

bash completion: Complete ‘guix size’ file names.

* etc/completion/bash/guix (_guix_complete): Complete store file names
after the ‘size’ command.
master
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
1 changed files with 3 additions and 0 deletions

View File

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