summary refs log tree commit diff
path: root/etc/completion/bash
diff options
context:
space:
mode:
Diffstat (limited to 'etc/completion/bash')
-rw-r--r--etc/completion/bash/guix3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index fcf9482639..d5ec427e0c 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -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