bash completion: Complete ‘guix size’ file names.
* etc/completion/bash/guix (_guix_complete): Complete store file names after the ‘size’ command.master
parent
9e3355d2a3
commit
d71cfaea30
|
@ -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
|
||||||
|
|
Reference in New Issue