Skip to content

Commit 3201497

Browse files
authored
fix(brctl): fix quoting of the command name (#1296)
1 parent 3c2cac0 commit 3201497

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

completions/brctl

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
_comp_cmd_brctl__interfaces()
44
{
5-
_comp_compgen_split -- "$(${1:-brctl} show ${2:+"$2"} 2>/dev/null | _comp_awk \
6-
'(NR == 1) { next }; (/^\t/) { print $1; next }; { print $4 }')"
5+
_comp_compgen_split -- "$(
6+
"${1:-brctl}" show ${2:+"$2"} 2>/dev/null | _comp_awk \
7+
'(NR == 1) { next }; (/^\t/) { print $1; next }; { print $4 }'
8+
)"
79
}
810

911
_comp_cmd_brctl()

0 commit comments

Comments
 (0)