feat(gcx): add completion plugin for Grafana's gcx (#13950)

* feat(gcx): add completion plugin

* fix(gcx): write completion cache atomically
This commit is contained in:
Rasmus Skovgaard Lauritsen
2026-09-05 11:19:45 -07:00
committed by GitHub
parent 4bdcaad01a
commit daaa103cec
2 changed files with 36 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# 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`.