From 32014973c96f317990693412bcf680b614b460ea Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Mon, 30 Dec 2024 21:21:31 +0900 Subject: [PATCH] fix(brctl): fix quoting of the command name (#1296) --- 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()