diff options
author | Denys Dovhan <denysd96@gmail.com> | 2018-10-03 18:54:07 +0300 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-10-03 17:54:07 +0200 |
commit | 0f6e3dc223942f553fa512d4d8d2d9eb3df3ab8e (patch) | |
tree | 2867f8c6f52c71cec108a7a8c97a27e00cab3a80 /plugins/grunt/README.md | |
parent | fe4ac966fab20f9f29c0a9905372b4b52083ef24 (diff) | |
download | zsh-0f6e3dc223942f553fa512d4d8d2d9eb3df3ab8e.tar.gz zsh-0f6e3dc223942f553fa512d4d8d2d9eb3df3ab8e.tar.bz2 zsh-0f6e3dc223942f553fa512d4d8d2d9eb3df3ab8e.zip |
grunt: add README (#7198)
Diffstat (limited to 'plugins/grunt/README.md')
-rw-r--r-- | plugins/grunt/README.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/grunt/README.md b/plugins/grunt/README.md new file mode 100644 index 000000000..a69a9b7fc --- /dev/null +++ b/plugins/grunt/README.md @@ -0,0 +1,37 @@ +# grunt plugin + +This plugin adds completions for [grunt](https://github.com/gruntjs/grunt). + +To use it, add `grunt` to the plugins array of your `.zshrc` file: +```zsh +plugins=(... grunt) +``` + +## Enable caching + +If you want to use the cache, set the following in your `.zshrc`: +```zsh +zstyle ':completion:*' use-cache yes +``` + +## Settings + +* Show grunt file path: + ```zsh + zstyle ':completion::complete:grunt::options:' show_grunt_path yes + ``` +* Cache expiration days (default: 7): + ```zsh + zstyle ':completion::complete:grunt::options:' expire 1 + ``` +* Not update options cache if target gruntfile is changed. + ```zsh + zstyle ':completion::complete:grunt::options:' no_update_options yes + ``` + +Note that if you change the zstyle settings, you should delete the cache file and restart zsh. + +```zsh +$ rm ~/.zcompcache/grunt +$ exec zsh +``` |