Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
5d875d68
Commit
5d875d68
authored
May 25, 2019
by
Rachel M. Carmena
Committed by
Marc Cornellà
May 25, 2019
Browse files
ng: fix shwordsplit option use (#7880)
parent
1f078898
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/ng/ng.plugin.zsh
View file @
5d875d68
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment