From aa5a3c8120790df74f106b2c9145edae07800bb1 Mon Sep 17 00:00:00 2001 From: pml68 Date: Fri, 18 Apr 2025 02:10:20 +0200 Subject: feat: enable ShellCheck analysis --- aur.completor.bash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'aur.completor.bash') diff --git a/aur.completor.bash b/aur.completor.bash index c7513ed..48c6e8b 100644 --- a/aur.completor.bash +++ b/aur.completor.bash @@ -1,3 +1,4 @@ +# shellcheck disable=SC2034 output=aur-completion.bash cmd=aur cmd_args=@aur_pkgs @@ -11,7 +12,7 @@ cmd_opts=( ) reply_aur_pkgs() { - pkgs=`basename -a ~/.aur/*/ | paste -d ' ' -s -` + pkgs=$(basename -a ~/.aur/*/ | paste -d ' ' -s -) - COMPREPLY=( $(compgen -W "$pkgs" -- "$cur") ) + COMPREPLY=( "$(compgen -W "$pkgs" -- "$cur")" ) } -- cgit v1.2.3