summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRachel M. Carmena <rachelcarmena@users.noreply.github.com>2019-05-25 19:35:33 +0200
committerMarc Cornellà <marc.cornella@live.com>2019-05-25 19:35:33 +0200
commit5d875d68123471b0002946a14bfaecd7451d39b0 (patch)
tree7348b28d2968e6e17799b336f6422522e526872a
parent1f078898887bf96e793772a80e0dae1e96eeadc8 (diff)
downloadzsh-5d875d68123471b0002946a14bfaecd7451d39b0.tar.gz
zsh-5d875d68123471b0002946a14bfaecd7451d39b0.tar.bz2
zsh-5d875d68123471b0002946a14bfaecd7451d39b0.zip
ng: fix shwordsplit option use (#7880)
-rw-r--r--plugins/ng/ng.plugin.zsh5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/ng/ng.plugin.zsh b/plugins/ng/ng.plugin.zsh
index b802bf617..44102e2a6 100644
--- a/plugins/ng/ng.plugin.zsh
+++ b/plugins/ng/ng.plugin.zsh
@@ -1,4 +1,3 @@
-
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 () {
@@ -73,9 +72,7 @@ _ng_completion () {
;;
esac
- setopt shwordsplit
- reply=($opts)
- unset shwordsplit
+ reply=(${=opts})
}
compctl -K _ng_completion ng