mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-12-03 21:58:56 +01:00
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:
3 files changed
+140
No files matched your search
@@ -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).
|
||||
Reference in new issue
Block a user