mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-09-22 11:06:06 +02:00
* feat(gcx): add completion plugin * fix(gcx): write completion cache atomically
19 lines
467 B
Markdown
19 lines
467 B
Markdown
# Grafana CLI plugin
|
|
|
|
This plugin adds completion for the [Grafana CLI (gcx)](https://github.com/grafana/gcx).
|
|
|
|
To use it, add `gcx` to the plugins array in your zshrc file:
|
|
|
|
```zsh
|
|
plugins=(... gcx)
|
|
```
|
|
|
|
This plugin does not add any aliases.
|
|
|
|
## Cache
|
|
|
|
This plugin caches the completion script and automatically updates it when the
|
|
plugin is loaded, which is usually when you start a new terminal emulator.
|
|
|
|
The cache is stored at `$ZSH_CACHE_DIR/completions/_gcx`.
|