Remove retry and make max time lower because it is interactive

This commit is contained in:
appeasementPolitik 2023-05-14 07:59:18 +00:00 committed by GitHub
parent 236b082078
commit fc1cd24557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ se() {
weath() {
[ -z "$1" ] && less -S ${XDG_CACHE_HOME:-$HOME/.cache}/weatherreport ||
curl --retry 5 -sm 10 "${WTTRURL:-wttr.in}/$1" | less -S
curl -sm 5 "${WTTRURL:-wttr.in}/$1" | less -S
;}
# Verbosity and settings that you pretty much just always are going to want.