krobelus · GitHub

Added the proposed change to include model names

Thank you, but I just realized some errors, now:

complete -c ollama -f -a "(__fish_complete_ollama_list)" --condition '__fish_seen_subcommand_from show'
complete -c ollama -f -a "(__fish_complete_ollama_list)" --condition '__fish_seen_subcommand_from run'
complete -c ollama -f -a "(__fish_complete_ollama_list)" --condition '__fish_seen_subcommand_from cp'
complete -c ollama -f -a "(__fish_complete_ollama_list)" --condition '__fish_seen_subcommand_from rm'

"$(__fish_complete_ollama_list)" -> "(__fish_complete_ollama_list)", previously it was eager evaluation
and remove erroneous descriptions (command descriptions for model names).

Can you update them to fix?

Read the original on github.com ↗