Fix weather location
This commit is contained in:
parent
af45d02c1c
commit
123da2fdf5
2
.zshrc
2
.zshrc
@ -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?"
|
||||||
|
Loading…
Reference in New Issue
Block a user