]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/grunt/README.md
...
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / grunt / README.md
1 # grunt plugin
2
3 This plugin adds completions for [grunt](https://github.com/gruntjs/grunt).
4
5 To use it, add `grunt` to the plugins array of your `.zshrc` file:
6 ```zsh
7 plugins=(... grunt)
8 ```
9
10 ## Enable caching
11
12 If you want to use the cache, set the following in your `.zshrc`:
13 ```zsh
14 zstyle ':completion:*' use-cache yes
15 ```
16
17 ## Settings
18
19 * Show grunt file path:
20   ```zsh
21   zstyle ':completion::complete:grunt::options:' show_grunt_path yes
22   ```
23 * Cache expiration days (default: 7):
24   ```zsh
25   zstyle ':completion::complete:grunt::options:' expire 1
26   ```
27 * Not update options cache if target gruntfile is changed.
28   ```zsh
29   zstyle ':completion::complete:grunt::options:' no_update_options yes
30   ```
31
32 Note that if you change the zstyle settings, you should delete the cache file and restart zsh.
33
34 ```zsh
35 $ rm ~/.zcompcache/grunt
36 $ exec zsh
37 ```