From 8d270ea7ce81128de31fadf29bb5bc6810fac5ca Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Mon, 30 Dec 2024 20:11:25 +0900 Subject: [PATCH] fix(brctl): fix quoting of the command name --- completions/brctl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/completions/brctl b/completions/brctl index 148e1178c08..2a9feb6153c 100644 --- a/completions/brctl +++ b/completions/brctl @@ -2,8 +2,10 @@ _comp_cmd_brctl__interfaces() { - _comp_compgen_split -- "$(${1:-brctl} show ${2:+"$2"} 2>/dev/null | _comp_awk \ - '(NR == 1) { next }; (/^\t/) { print $1; next }; { print $4 }')" + _comp_compgen_split -- "$( + "${1:-brctl}" show ${2:+"$2"} 2>/dev/null | _comp_awk \ + '(NR == 1) { next }; (/^\t/) { print $1; next }; { print $4 }' + )" } _comp_cmd_brctl()