From 8be23b4fe032f9f2ddfb2cd2d0cae45a22efcdd6 Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Fri, 10 Mar 2023 00:56:03 -0500 Subject: [PATCH] fish: fix fortune call in motd --- fish/functions/motd.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish/functions/motd.fish b/fish/functions/motd.fish index 2bd1a3c..70f9c7e 100644 --- a/fish/functions/motd.fish +++ b/fish/functions/motd.fish @@ -6,7 +6,7 @@ function motd --description "Message of the day!" else if contains -- '--dad-joke' $argv set daily_msg (curl -H 'Accept: text/plain' 'https://icanhazdadjoke.com/' 2>/dev/null) else - set daily_msg (fortune -a) + set daily_msg (fortune) end cowsay $daily_msg