diff --git a/po/de.po b/po/de.po index 54aa6e701..ea969a13a 100644 --- a/po/de.po +++ b/po/de.po @@ -62973,6 +62973,9 @@ msgstr "" msgid "Stop a profile" msgstr "" +msgid "Stop a running model." +msgstr "" + msgid "Stop a standalone server instance" msgstr "" diff --git a/po/en.po b/po/en.po index 4f6191c88..144aec69a 100644 --- a/po/en.po +++ b/po/en.po @@ -62969,6 +62969,9 @@ msgstr "" msgid "Stop a profile" msgstr "" +msgid "Stop a running model." +msgstr "" + msgid "Stop a standalone server instance" msgstr "" diff --git a/po/fr.po b/po/fr.po index a32baff28..ca74c4d9e 100644 --- a/po/fr.po +++ b/po/fr.po @@ -63070,6 +63070,9 @@ msgstr "Arrêter un paquet" msgid "Stop a profile" msgstr "Arrêter un profil" +msgid "Stop a running model." +msgstr "" + msgid "Stop a standalone server instance" msgstr "" diff --git a/po/pl.po b/po/pl.po index a274a824c..79525d035 100644 --- a/po/pl.po +++ b/po/pl.po @@ -62965,6 +62965,9 @@ msgstr "" msgid "Stop a profile" msgstr "" +msgid "Stop a running model." +msgstr "" + msgid "Stop a standalone server instance" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index 34f3a6187..81fe380a6 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -62992,6 +62992,9 @@ msgstr "" msgid "Stop a profile" msgstr "" +msgid "Stop a running model." +msgstr "" + msgid "Stop a standalone server instance" msgstr "" diff --git a/po/sv.po b/po/sv.po index 57547bc06..987e00424 100644 --- a/po/sv.po +++ b/po/sv.po @@ -62968,6 +62968,9 @@ msgstr "" msgid "Stop a profile" msgstr "" +msgid "Stop a running model." +msgstr "" + msgid "Stop a standalone server instance" msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po index 1cf446cec..3cafc74b4 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -62968,6 +62968,9 @@ msgstr "停止一个软件包" msgid "Stop a profile" msgstr "停止配置文件" +msgid "Stop a running model." +msgstr "" + msgid "Stop a standalone server instance" msgstr "停止独立的服务器实例" diff --git a/share/completions/ollama.fish b/share/completions/ollama.fish index e6e8cb187..8d2571ddb 100644 --- a/share/completions/ollama.fish +++ b/share/completions/ollama.fish @@ -2,11 +2,16 @@ function __fish_ollama_list ollama list 2>/dev/null | tail -n +2 | string replace --regex "\s.*" "" end +function __fish_ollama_ps + ollama ps 2>/dev/null | tail -n +2 | string replace --regex "\s.*" "" +end + complete -f -c ollama complete -c ollama -n __fish_use_subcommand -a serve -d "Start ollama" complete -c ollama -n __fish_use_subcommand -a create -d "Create a model from a Modelfile" complete -c ollama -n __fish_use_subcommand -a show -d "Show information for a model" complete -c ollama -n __fish_use_subcommand -a run -d "Run a model" +complete -c ollama -n __fish_use_subcommand -a stop -d "Stop a running model." complete -c ollama -n __fish_use_subcommand -a pull -d "Pull a model from a registry" complete -c ollama -n __fish_use_subcommand -a push -d "Push a model to a registry" complete -c ollama -n __fish_use_subcommand -a list -d "List models" @@ -19,3 +24,4 @@ complete -c ollama -f -a "(__fish_ollama_list)" --condition '__fish_seen_subcomm complete -c ollama -f -a "(__fish_ollama_list)" --condition '__fish_seen_subcommand_from run' complete -c ollama -f -a "(__fish_ollama_list)" --condition '__fish_seen_subcommand_from cp' complete -c ollama -f -a "(__fish_ollama_list)" --condition '__fish_seen_subcommand_from rm' +complete -c ollama -f -a "(__fish_ollama_ps)" --condition '__fish_seen_subcommand_from stop'