Fix weather location

This commit is contained in:
Kevin Cotugno 2022-12-23 06:53:13 -07:00
parent af45d02c1c
commit 123da2fdf5

2
.zshrc
View File

@ -82,7 +82,7 @@ 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%2C%20AZ" loc="Phoenix%2C%20Arizona%2C%20United%20States"
fi fi
curl -sSL "https://wttr.in/$loc?" curl -sSL "https://wttr.in/$loc?"