Happy adventuring! ✨
Happy adventuring! ✨
That’s exactly what I’m thinking happened, yes. Hard to know for sure, but Vance is doing some heavy hand gestures, when he said “diplomacy”, that would’ve fucked with anybody’s patience I think 😅
Sure, fair point. 👍
I’d feel like such a target, to be honest. At least if I was living in politically-volatile America right now.
I imagine 😅
Yeah, using one tool and then another one can be confusing at times. 😅
Give it a shot after reading through the manual! (Extremely short compared to bash’s!) It’s a joy in my opinion. ☺️👌
A shell script can be much more agile, potent, and concise, depending on the use case.
E.g. if you want to make a facade (wrapper) around a program, that’s much cleaner in $SHELL
. All you’re doing is checking which keyword/command the user wanted, and then executing the commands associated with what you want to achieve, like maybe displaying a notification and updating a global environment variable or something.
Executing a bunch of commands and chaining their output together in python is surely much more cumbersome than just typing them out next to each other separated by a pipe character. It’s higher-level. 👍
If it’s just text in text out though, sure, mostly equivalent, but for me this is rarely the use case for a script.
Yeah I also went bash -> zsh -> fish. Zsh was just too complicated to configure for my taste. Couldn’t do it, apart from copy pasting stuff I didn’t understand myself, and that just didn’t sit right.
Man, you can really see Adolf saying “Sieg Heil!” Scary stuff.
Not to mention the guy on the left.
How do you feel about owning a Nazi car? Any feelings around that? Curious about your feelings or anyone else owning a Tesla right now.
Ever since I switched to Fish Shell, I’ve had no issues remembering anything. Ported my entire catalogue of custom scripts over to fish and everything became much cleaner. More legible, and less code to accomplish the same things. Easier argument parsing, control structures, everything. Much less error prone IMO.
Highly recommend it. It’s obviously not POSIX or anything, but I find that the cost of installing fish on every machine I own is lower than maintaining POSIX-compliant scripts.
Enjoy your scripting!
-eq
Yeah, like infix, so between operands, but dashed like a flag so should come before arguments. Very odd.
I think the point is, go even further and stop. Of course they want it, those who buy it. Once I stopped drinking sugar drinks, they started tasting really bad when I tried them once in a while. Started preferring natural juices instead. Love my juices. Still sugary, but less processed.
Ah. I use it on X11/i3.
Oh yeah, the OBS thing. Yeah, I guess these are the reasons I’ve felt like Flatpaks are a bit more stable than AUR packages. They might take up more space or whatever, but it’s nice to know they work like they’re supposed to, especially commercial stuff like Spotify and Slack etc. I just wish Flatpak software integrated better with the rest of the system without extra configuration.
Cool. Could you elaborate? Because I only do this because of some kind of gut feeling… 😅
Floorp is a new Firefox based browser from Japan with excellent privacy & flexibility.
💀
vs
Which is cleaner? Not to mention if you want to take the output from the command and pipe it into another one.
It’s not about folks with weird opinions or otherwise, it’s about use cases. 🙂 I don’t think python is any more “natural” than most other imperative languages.
Fish is probably even more natural, actually, due to it being more high level and the legibility of the script is basically dependent on the naming of the commands and options and variables used within it, rather than something else, just like python. They probably have similarly legible keywords. Fish I imagine has fewer, which is a good thing for legibility. A script does a lot more with a lot less, due to the commands themselves doing so much behind the scenes. There’s a lot more boilerplate to a “proper” programming language than a scripting language.
But if you want to do something that python is better suited for, like advanced data processing or number crunching, or writing a whole application, then I would say that would be the better choice. It’s not about preference for me when it comes to python vs fish, it’s about the right tool for the job. But if we’re talking about bash vs fish, then I’m picking fish purely by preference. 👍