feat(ollama): add completion plugin (#13269)

Co-authored-by: Robby Russell <robby@planetargon.com>
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
authored and GitHub committed 2026-12-03 15:26:35 +01:00
1 parent da3967b1f1
commit c0bd15e9cb
3 files changed
+140

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# Ollama
This plugin adds completion for [Ollama](https://ollama.com), the tool for running large language models locally.
To use it, add `ollama` to the plugins array in your zshrc file:
```zsh
plugins=(... ollama)
```
It completes `ollama` subcommands, their flags, and model names (from `ollama list`, or `ollama ps` for `ollama stop`).
## Credits
Adapted from [Grégoire Compagnon's gist](https://gist.github.com/obeone/9313811fd61a7cbb843e0001a4434c58)
by [Konstantin Gredeskoul](https://github.com/kigster).