mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 23:30:08 +00:00
ng: fix shwordsplit option use (#7880)
This commit is contained in:
parent
1f07889888
commit
5d875d6812
1 changed files with 1 additions and 4 deletions
|
@ -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_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 () {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
setopt shwordsplit
|
reply=(${=opts})
|
||||||
reply=($opts)
|
|
||||||
unset shwordsplit
|
|
||||||
}
|
}
|
||||||
|
|
||||||
compctl -K _ng_completion ng
|
compctl -K _ng_completion ng
|
||||||
|
|
Loading…
Reference in a new issue