1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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

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