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 | ./...
Doesn’t the shebang at the top of a bash script negate that compatibility issue anyway?
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.
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
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 | ./...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 dunno, just stuff I’ve heard before. For 99% of people both are awesome, it’s just preference!