5d875d68123471b0002946a14bfaecd7451d39b0
- Author
- Rachel M. Carmena <rachelcarmena@users.noreply.github.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
ng: fix shwordsplit option use (#7880)
Diff
1diff --git a/plugins/ng/ng.plugin.zsh b/plugins/ng/ng.plugin.zsh
2index b802bf61799a37a35ec7cf0c24a9692d74967628..44102e2a6845fbbbf7b8ae45181bd200fb4153ad 100644
3--- a/plugins/ng/ng.plugin.zsh
4+++ b/plugins/ng/ng.plugin.zsh
5@@ -1,4 +1,3 @@
6-
7 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'
8
9 _ng_completion () {
10@@ -73,9 +72,7 @@ _ng_completion () {
11 ;;
12 esac
13
14- setopt shwordsplit
15- reply=($opts)
16- unset shwordsplit
17+ reply=(${=opts})
18 }
19
20 compctl -K _ng_completion ng