sebastiancarlos @ sebastiancarlos @lemmy.sdf.org Posts 63Comments 61Joined 2 yr. ago
When you say immutable what do you mean? Surely dotfiles are meant to change over time? Where would you like to edit them?
https://github.com/chubin/wttr.in/issues/854 and similar issues
Unfortunately wttr.in produces incorrect weather reports in many cities around the world
The source code is in the post
lol thank you
where do you get those numbers, boss?
I thought about it but there are two complications here: The code is recursive, and it calls an external shell script. I'm sure there are ways to do that in awk, but I'm not too much of an awk guru, so I decided to leave my awking to self-contained smaller scripts. Also, considering I need to spawn subprocesses anyway for this, Bash wouldn't be a bad choice since it's built for that.
just add it to your .bashrc
Hey, just wondering, how using a terminal multiplexer adds "more bandwidth" to your ssh session? What do you mean by more bandwidth?
You mean the line containing the licence? Or the user who commented some improvement.suggestions? In any case, I agree :)
Setting it up in .inputrc allows more flexibility and configuration. Plus, it's shared by any other app that uses Readline for the prompt.
The link is on the body of this post.
Right? I wonder why this approach isn't more common.
How do you do this with vim, btw? I've looked into it before but haven't found a fully satisfying answer yet.
This should work:
$ rm -Ir f
That's fair.
I don’t really want to be confirming every file in a recursive rm or cp or mv either
Ah but rm
will only make you confirm if there are more than 3 files to be removed. And cp
and mv
only if there's risk of overwriting. And it's only one confirm per command, not per file.
why keep going when the objective
Good point. I actually thing that having if x == true
is bad practice anyway because it's redundant, so showing a toggle in that context would have the benefit of highlighting that something's wrong.
fwiw I opened an issue on the vs code repo. It already got a downvote and the issue was reassigned from one maintainer to another. Popcorn is tightly secured.
More technical details in the full article ;)