Update weather location
This commit is contained in:
parent
725b039f6e
commit
22784efcde
4
.zshrc
4
.zshrc
@ -76,10 +76,10 @@ function passgen () {
|
|||||||
function weather() {
|
function weather() {
|
||||||
local loc=$1
|
local loc=$1
|
||||||
if [[ -z "$loc" ]]; then
|
if [[ -z "$loc" ]]; then
|
||||||
loc="Lake Forest, CA"
|
loc="Phoenix, AZ"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
curl -sSL "wttr.in/$loc?m"
|
curl -sSL "wttr.in/$loc?"
|
||||||
}
|
}
|
||||||
|
|
||||||
alias e="$EDITOR"
|
alias e="$EDITOR"
|
||||||
|
Loading…
Reference in New Issue
Block a user