From 4ae116022c24a0bb3f12ddb2e313ccbe80794a15 Mon Sep 17 00:00:00 2001 From: Sebastian Bugge Date: Mon, 1 May 2023 12:16:46 +0200 Subject: [PATCH] swapped wttr.in call to use --max-time instead of --connect-timeout --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 5869965..355d74b 100644 --- a/.zshrc +++ b/.zshrc @@ -58,7 +58,7 @@ fi # Attach to a tmux session on startup if [ -z "$TMUX" ] && [[ "$HAS_NETWORK" == 1 ]]; then - curl -s 'wttr.in/Trondheim?format=%l:+%c%t\n' --connect-timeout 0.5 2> /dev/null + curl -s 'wttr.in/Trondheim?format=%l:+%c%t\n' --max-time 0.5 2> /dev/null echo " ---" fortune -s fi