Avatar

cheerupcharlie

cheerupcharlie@lemm.ee
Joined
2 posts • 8 comments
Direct message

I found a function version of this version somewhere. Same thing except it defaults to my local area but can be overridden if you specify a different zip code.

weather() {
 if [ $(command -v curl) ]; then
   if ! (($#)); then
     curl wttr.in/44113
   else
     curl wttr.in/$1
   fi
 else
   echo "curl not installed. Aborting."
 fi
}
permalink
report
parent
reply

Never complain about what you permit.

permalink
report
reply

That’s what I’ve been doing. There is a desire to add the feature, however. I was just wondering if it existed in some fashion and I just hadn’t found it.

permalink
report
parent
reply

Done!

permalink
report
parent
reply

There’s another one on I-71N near the Zoo! We always comment that out-of-towner’s must wonder “What the hell is going on? Who the hell is that? Is that the guy who invented Cleveland?” (No, BTW. Everyone knows that is actually Moses Cleveland)

permalink
report
reply

Yeah, I’ve been using the “save” feature as a replacement when I remember.

permalink
report
parent
reply

Lucky I checked first - it seems this may be in progress! https://github.com/LemmyNet/lemmy-ui/issues/1673

permalink
report
parent
reply

I always set these because I’ve been burned too many times:

Turn on interactive mode for dangerous commands

alias cp='cp -iv'
alias mv='mv -iv'
alias rm='rm -iv'
permalink
report
reply