Skip to content

Commit

Permalink
fix(brctl): fix quoting of the command name (#1296)
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga authored Dec 30, 2024
1 parent 3c2cac0 commit 3201497
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions completions/brctl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3201497

Please sign in to comment.