Fix weather check

This commit is contained in:
Kevin Cotugno 2022-10-03 06:48:07 -07:00
parent 6d918e2d4a
commit 23fca4d56c

4
.zshrc
View File

@ -81,10 +81,10 @@ mkdir -p "$HOME/.local/bin" && export PATH="$HOME/.local/bin:$PATH"
function weather() { function weather() {
local loc=$1 local loc=$1
if [[ -z "$loc" ]]; then if [[ -z "$loc" ]]; then
loc="Phoenix, AZ" loc="Phoenix%2C%20AZ"
fi fi
curl -sSL "wttr.in/$loc?" curl -sSL "https://wttr.in/$loc?"
} }
function proj { function proj {