bash completion: double-quote to avoid re-splitting

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg 2019-09-02 13:34:27 +02:00
parent c61a5ea2c4
commit 86e3564356

View File

@ -158,7 +158,7 @@ _skopeo_skopeo() {
--version -v
--help -h
"
commands=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion )
commands=$( "${COMP_WORDS[@]:0:$COMP_CWORD}" --generate-bash-completion )
case "$prev" in
$main_options_with_args_glob )