From 5cfd80cb56ad2a3f49b82db0007a805c823ce32b Mon Sep 17 00:00:00 2001 From: sneedgroup-holder Date: Tue, 14 Jan 2025 17:49:28 +0000 Subject: [PATCH] Update teller.zsh --- teller.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teller.zsh b/teller.zsh index 0a2e857..98bca74 100644 --- a/teller.zsh +++ b/teller.zsh @@ -8,7 +8,7 @@ fi # Fetch the fortune message if [[ "$1" == "samantha-mode" ]]; then - if ! ollama ls &>/dev/null; then + if ! command -v ollama &>/dev/null; then echo "Error: You can not use Samantha Mode because you are missing Ollama." fi FORTUNE="$(ollama run sparksammy/tinysam-l3.2:latest \"Please generate a pretend quote. It should be on a random topic, not just code. Show only the quote.\")"