this post was submitted on 25 Aug 2025
98 points (99.0% liked)

Linux

12813 readers
178 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

I just found out about fish shell a few moments ago. I switched Konsole on KDE to use it instead of bash and am impressed so far. Might install it on the Pihole eventually. Good stuff, just wanted to share. :)

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Botzo@lemmy.world 8 points 3 days ago* (last edited 3 days ago) (1 children)

It's a very user-friendly shell... except for the posix compliance.

Everyone I know who (still) uses it daily accepts that they have to translate back and forth and still write scripts in bash (or sh).

If you wanna give it a go, by all means. It's just as easy to switch as to switch back. You can always drop into bash and try a command again too.

[โ€“] victorz@lemmy.world 2 points 3 days ago (1 children)

I never have to write scripts in bash after having switched to fish. I just write all my scripts in fish. ๐Ÿคทโ€โ™‚๏ธ

[โ€“] Ephera@lemmy.ml 5 points 3 days ago (2 children)

It's unfortunately not that easy when you're using Linux at your job or want to be able to share your scripts with others...

Like, Bash for scripting is quite cursed, but people will typically still prefer using it over learning a new language.

[โ€“] victorz@lemmy.world 3 points 3 days ago

I use Linux for my job but luckily I don't have to share scripts with anyone. ๐Ÿ˜Œ

[โ€“] 123@programming.dev 1 points 2 days ago (1 children)

Not to mention some environments don't let you install anything other than what's already on the box. Both sh and bash generally are available.

[โ€“] Ephera@lemmy.ml 1 points 2 days ago

Ah, good point. In many cases, you also don't want to install an alternative shell, like if you're dealing with lots of containers and would need to make Fish available in each one.

Although, I will say that more recent versions of Fish are available as a standalone executable, so you don't have to install it in the traditional sense. You can probably transfer it together with your script file in most cases. That's a relatively new/experimental feature of Fish, though, so no idea how well such a workflow goes in practice.