From d71cfaea3006bc02dc6d309d916809e1f799f04e Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 3 Oct 2021 13:59:54 +0200 Subject: [PATCH] =?UTF-8?q?bash=20completion:=20Complete=20=E2=80=98guix?= =?UTF-8?q?=20size=E2=80=99=20file=20names.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * etc/completion/bash/guix (_guix_complete): Complete store file names after the ‘size’ command. --- etc/completion/bash/guix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix index fcf94826399..d5ec427e0c5 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