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
Ohmyzsh
Commits
2c0315db
Commit
2c0315db
authored
Feb 27, 2020
by
Marc Cornellà
Browse files
ng: refactor README
parent
79fff1ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/ng/README.md
View file @
2c0315db
#
#
NG P
lugin
#
ng p
lugin
This
[
ng
plugin
](
https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/ng
)
adds completion support for Angular's CLI
(named ng).
This plugin
adds autocompletion support for
[
Angular's CLI
](
https://github.com/angular/angular-cli
)
(named
`
ng
`
).
Ng is hosted on
[
ng home
](
https://github.com/catull/angular-cli
)
It is used to generate Angular 2 app "stubs", build those apps, configure them,
test them, lint them etc.
Ahem, "stubs" is not what Angular engineers refer to the items ng can generate
for you.
"Stubs" can be any one of:
-
class
-
component
-
directive
-
enum
-
module
-
pipe
-
route
-
service
At the moment,
`ng completion`
creates a very rough completion for Zsh and
Bash.
It is missing most of the options and a few arguments.
In future, this plugin may be shortened to simply being
To use it, add
`ng`
to the plugins array of your zshrc file:
```
zsh
eval
`
ng completion
`
plugins
=(
... ng
)
```
There is hope this materialises in the 21st century.
### CONTRIBUTOR
-
Carlo Dapor (
[
catull
](
https://github.com/catull
)
)
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