config/oh-my-zsh/plugins/grunt
2023-02-27 20:04:56 +05:30
..
grunt.plugin.zsh add zsh 2023-02-27 20:04:56 +05:30
README.md add zsh 2023-02-27 20:04:56 +05:30

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