this post was submitted on 07 Sep 2026
127 points (100.0% liked)
Linux
15004 readers
195 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Doesn't the shebang at the top of a bash script negate that compatibility issue anyway?
I remember years ago a YouTuber (I think it was Distrotube) making that same point about Fish, and I had this same thought back then lol.
Although, the Fish scripting looks interesting. Might switch my default shell to Fish on my laptop for a bit, maybe I'm underestimating this lol
Yes. Fish is equal to ZSH when running scripts. But has more trouble if you are writing scripts you want other people to run (this is quite rare these days though, maybe just use a proper programming language if you want to write/share software).
Fish is worth trying out! I have used both fish and ZSH both for around a year. Fish is a better experience overall. You don't have to maintain a bunch of config files for the same level of features and it is generally faster.
I have been using fish for years; no issues running scripts with shebangs. If you're running something janky or homemade that lacks them, you pipe it into a new bash instance
bash | ./...I dunno, just stuff I've heard before. For 99% of people both are awesome, it's just preference!