2 ms·
> I have to learn bash anyway Do you? You need bash installed, certainly, but you don't need to learn bash in order to merely execute bash scripts. To use an a
by kibwen 4y ago
> I have to learn bash anyway
Do you? You need bash installed, certainly, but you don't need to learn bash in order to merely execute bash scripts. To use an analogy, just because your distro scripts things in Python doesn't mean one needs to learn Python to use the distro. I basically never need to write or read a bash scripts these days (I use fish, but I rarely write a real fish script either; just learn the language of your shell and YOLO).
- MrJohz 4y agoAs a fellow fish user, I agree. Occasionally I write fish scripts/functions, but they're for my environment so I don't expect them to run on other people's fish shells, let alone bash. Then when I am in another shell, I can usually get by on the minimum (glob, pipes, redirection), which is mostly fairly universal. And when I'm not SSHd into some other machine (which is 99% of the time), then I get all the superpowers of fish to use. It's a bit like the equivalent vim argument. Yes, using unmodified vim means you have access to the same tools in every environment. But I spend 99% of my time in one environment, so I'd like to optimise for that one, whether that's by using an IDE or installing a bunch of vim plugins and customising everything. Then when I do need to SSH into a server somewhere, I can get by on the bare minimum - in my case, usually nano. If I'm using nano for long enough that I start missing my IDEA features, then I've been using nano for too long and need to figure out a different way of deploying/debugging changes in the first place.