this post was submitted on 04 Jun 2026
84 points (80.9% liked)

Linux Gaming

26096 readers
127 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

Help:

Launchers/Game Library Managers:

General:

Discord:

IRC:

Matrix:

Telegram:

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] victorz@lemmy.world 2 points 14 hours ago (1 children)

I instantly fell in love with the design choices of fish. It does things differently and more simply than bash. The syntax is actually readable linguistically compared to bash. Very conscious choices, and there's usually just one way of doing things, and they just make sense.

I converted all my scripts from bash to fish. They are 50% less LOC, have zero comments in them, and I can actually come back a year later and instantly make an edit because I can actually read what the code does. In my bash scripts I did have comments, and I still had to bring up the manual to make an edit...

Fish's language really is very small, you basically can actually fit its entire syntax footprint in your brain's working memory. It's great to work with. Highly recommend giving it a more serious shot for anyone who is curious of a better world. 😊

[–] thingsiplay@lemmy.ml 2 points 14 hours ago (1 children)

I agree with you that Fish is in language design choices and the default features. There is no denying in that and is the reason why I used Fish as my main interpreter for weeks. But that would not change the fact that I read and write scripts, either for me, to share or to help others, let alone the legacy stuff. Bash is the standard.

So scripts would stay in Bash for me, and only the interactive interpreter was Fish. And that was a problem for me. Because Fish and Bash are similar, but they are different enough that I got always confused which way was to do and write scripts. Especially because Bash had some quirks (yes its bad, not denying it), and Fish didn't have them. I thought that I would get used to, but it was always confusing. I rather have a language that is completely different, not similar but different.

So, if I was using a different language that is no longer compatible with POSIX or Bash, then why would I use Fish instead any other language? Why not Xonsh (Python) or Nushell in example? Because that's the category I am looking Fish at, not to replace Bash.

[–] victorz@lemmy.world 2 points 12 hours ago* (last edited 12 hours ago) (1 children)

if I was using a different language that is no longer compatible with POSIX or Bash, then why would I use Fish instead any other language? Why not Xonsh (Python) or Nushell in example?

I think this is a great question, and the answer is probably more nuanced and personal, even per use case.

I use fish because of its simplicity, period. And it had all the features I wanted from zsh built-in, with zero or simpler (actually understandable) configuration.

I don't help anyone with bash or write or share scripts, so I don't have that issue where I need to juggle multiple shells, which is lucky for me perhaps. 😌

But those other steps you mentioned probably are a bit more niche, let's say. I think nushell is more tailored to people using the shell to process a lot of data. Digging through logs, perhaps. Debugging systems, or systems management/maintenance. Then it's really handy to be able to process output as data tables, with proper sorting capabilities etc. Nushell is really powerful for that. I actually have it installed because it's already useful sometimes but I barely know any of its specific commands. 😅

Anyway, the choice of shell really is very personal. For me, fish and bash share the same purpose of being used both interactively and as general-purpose scripting languages. And since fish is better in my opinion I chose it. But if I had other use cases, maybe a different job with different requirements, I would make nushell my default. 😁

[–] thingsiplay@lemmy.ml 1 points 11 hours ago (1 children)

To be clear, I understand the appeal of Fish and its reason to exist. It's just I convinced myself that the standard shell should be POSIX compatible (had used ZSH for years too, before trying out Fish). And frankly, I am good enough in Bash for daily use and for scripting, that I can use it. Every time I look at Fish (to almost try it again), I'm jelious about some of the syntax and trap cleanups and features. Maybe one day I change my mind. I actually have plans to install Fish again and see how it goes.

Nushell is really an interesting one. This is how I imagine a modern shell should be like. But the reality is, that all the Linux tools and commandline are not based on this concept. That's why I never got into. And Xonsh, well I write Python too, and not sure how confusing that would be... I just brought up these shells to make a point about Fish being different and that I categorize it like those.

[–] victorz@lemmy.world 1 points 6 minutes ago

To be clear, I understand the appeal of Fish and its reason to exist.

Oh yeah, you were clear about that, not to worry. 😊

I actually have plans to install Fish again and see how it goes.

Nice, I hope you do! You're welcome to join The School! 😄

I just brought up these shells to make a point about Fish being different and that I categorize it like those.

Yeah, I get you. Definitely a reasonable way of looking at it, too.

Personally I find fish to be a general-purpose shell, despite the fact that it is not POSIX-compatible. So in my mind it's in the same category as bash, csh, zsh, ksh, etc. It just does things very differently. 😄 But that's just my personal mental model.

Anyway I'm here if you ever want some tips on how to do stuff idiomatically in fish, if you ever do decide to get started. 👍🤝 Hit me up in the DMs or something.