From 23fca4d56ca497d4c9514ca8631909703d5dcc47 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Mon, 3 Oct 2022 06:48:07 -0700 Subject: [PATCH] Fix weather check --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 5e37580..52429e9 100644 --- a/.zshrc +++ b/.zshrc @@ -81,10 +81,10 @@ mkdir -p "$HOME/.local/bin" && export PATH="$HOME/.local/bin:$PATH" function weather() { local loc=$1 if [[ -z "$loc" ]]; then - loc="Phoenix, AZ" + loc="Phoenix%2C%20AZ" fi - curl -sSL "wttr.in/$loc?" + curl -sSL "https://wttr.in/$loc?" } function proj {