diff --git a/bin/antigen.zsh b/bin/antigen.zsh index cbac5679..66179059 100644 --- a/bin/antigen.zsh +++ b/bin/antigen.zsh @@ -1715,7 +1715,7 @@ antigen-ext-init () { builtin local bundle &> /dev/null for bundle in ${_PARALLEL_BUNDLE[@]}; do - antigen-bundle $bundle + antigen-bundle ${=bundle} done diff --git a/src/ext/parallel.zsh b/src/ext/parallel.zsh index 9a045499..9dc8d1f4 100644 --- a/src/ext/parallel.zsh +++ b/src/ext/parallel.zsh @@ -51,7 +51,7 @@ builtin local bundle &> /dev/null for bundle in ${_PARALLEL_BUNDLE[@]}; do - antigen-bundle $bundle + antigen-bundle ${=bundle} done diff --git a/tests/bundles.t b/tests/bundles.t index 03d3fa4e..8814dc84 100644 --- a/tests/bundles.t +++ b/tests/bundles.t @@ -36,3 +36,7 @@ Again, check if they are both applied. hehe $ hehe2 hehe2 + +Add bundle theme (contains spaces). + + $ echo "$PLUGIN_DIR silly --btype=theme" | antigen-bundles &> /dev/null