1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-13 17:30:08 +00:00
ohmyzsh/plugins/grunt
Josh Soref 0e41181d54
chore: fix spelling errors across the project (#10459)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-12-01 12:20:31 +01:00
..
grunt.plugin.zsh chore: fix spelling errors across the project (#10459) 2021-12-01 12:20:31 +01:00
README.md grunt: add README (#7198) 2018-10-03 17:54:07 +02:00

grunt plugin

This plugin adds completions for grunt.

To use it, add grunt to the plugins array of your .zshrc file:

plugins=(... grunt)

Enable caching

If you want to use the cache, set the following in your .zshrc:

zstyle ':completion:*' use-cache yes

Settings

  • Show grunt file path:
    zstyle ':completion::complete:grunt::options:' show_grunt_path yes
    
  • Cache expiration days (default: 7):
    zstyle ':completion::complete:grunt::options:' expire 1
    
  • Not update options cache if target gruntfile is changed.
    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.

$ rm ~/.zcompcache/grunt
$ exec zsh