cheerupcharlie
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
}
Never complain about what you permit.
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.
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)
Lucky I checked first - it seems this may be in progress! https://github.com/LemmyNet/lemmy-ui/issues/1673
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'