Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Katrovsky/zsh-ollama-completion
Zsh completion plugin for Ollama AI models management
https://github.com/Katrovsky/zsh-ollama-completion
Last synced: 10 days ago
JSON representation
Zsh completion plugin for Ollama AI models management
- Host: GitHub
- URL: https://github.com/Katrovsky/zsh-ollama-completion
- Owner: Katrovsky
- License: gpl-3.0
- Created: 2024-06-29T04:43:25.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-29T05:00:01.000Z (5 months ago)
- Last Synced: 2024-08-02T07:10:35.405Z (3 months ago)
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- trackawesomelist - ollama (⭐0) - Tab command completion for Ollama AI models management. (Recently Updated / [Jul 15, 2024](/content/2024/07/15/README.md))
README
# zsh-ollama-completion
A Zsh plugin providing command completion for Ollama AI models management.
## Features
- Autocompletes Ollama commands
- Provides model name suggestions for relevant commands
- Enhances productivity when working with Ollama CLI## Installation
### Using Oh-My-Zsh
1. Clone this repository in Oh-My-Zsh's plugins directory:
```sh
git clone https://github.com/Katrovsky/zsh-ollama-completion.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/ollama
```
2. Activate the plugin in `~/.zshrc`:
```sh
plugins=(... ollama)
```
3. Restart your shell or run:
```sh
source ~/.zshrc
```
## UsageOnce installed, the plugin will automatically provide command completion for Ollama. Type `ollama` followed by a space and press Tab to see available commands. For commands that work with models (like `run`, `pull`, `show`, `rm`, `cp`), pressing Tab after the command will suggest available model names.
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.