[PR #3105] [CLOSED] Improve usability with Bash completion for Ollama on Linux #42316

Closed
opened 2026-04-24 22:05:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3105
Author: @aosan
Created: 3/13/2024
Status: Closed

Base: mainHead: bash_completion_for_ollama_on_Linux


📝 Commits (1)

  • d29d707 Improve usability with Bash completion for Ollama on Linux

📊 Changes

1 file changed (+89 additions, -0 deletions)

View changed files

📝 scripts/install.sh (+89 -0)

📄 Description

Please review this PR for adding Bash completion to install.sh for Linux.

Currently works for all arguments and options, including autocomplete for long model names (yay!)

ollama ls works, but it's missing from the -h/--help and ollama listing. I'll open a separate issue for it.

It does not include autocomplete for ollama rm as I consider easy destructive actions would need user confirmation before execution. I'll also create an issue for it.

This version of install.sh has been tested successfully on Fedora 39, Ubuntu 23.10 and Debian 12.5.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/3105 **Author:** [@aosan](https://github.com/aosan) **Created:** 3/13/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bash_completion_for_ollama_on_Linux` --- ### 📝 Commits (1) - [`d29d707`](https://github.com/ollama/ollama/commit/d29d7073f79251f6f67bb9ef12f7df786ea5127c) Improve usability with Bash completion for Ollama on Linux ### 📊 Changes **1 file changed** (+89 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `scripts/install.sh` (+89 -0) </details> ### 📄 Description Please review this PR for adding Bash completion to install.sh for Linux. Currently works for all arguments and options, including autocomplete for long model names (yay!) `ollama ls` works, but it's missing from the -h/--help and ollama listing. I'll open a separate issue for it. It does not include autocomplete for `ollama rm` as I consider easy destructive actions would need user confirmation before execution. I'll also create an issue for it. This version of install.sh has been tested successfully on Fedora 39, Ubuntu 23.10 and Debian 12.5. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 22:05:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#42316