Commit 5d875d68 authored by Rachel M. Carmena's avatar Rachel M. Carmena Committed by Marc Cornellà
Browse files

ng: fix shwordsplit option use (#7880)

parent 1f078898
ng_opts='addon asset-sizes b build completion d destroy doc e2e g generate get github-pages:deploy gh-pages:deploy h help i init install lint make-this-awesome new s serve server set t test update v version -h --help' ng_opts='addon asset-sizes b build completion d destroy doc e2e g generate get github-pages:deploy gh-pages:deploy h help i init install lint make-this-awesome new s serve server set t test update v version -h --help'
_ng_completion () { _ng_completion () {
...@@ -73,9 +72,7 @@ _ng_completion () { ...@@ -73,9 +72,7 @@ _ng_completion () {
;; ;;
esac esac
setopt shwordsplit reply=(${=opts})
reply=($opts)
unset shwordsplit
} }
compctl -K _ng_completion ng compctl -K _ng_completion ng
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment