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

Linux

12813 readers
90 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
[โ€“] pressanykeynow@lemmy.world 2 points 2 days ago (2 children)

I use fish on a couple of devices, but damn it's frustrating when you want to do a fast and simple bash scripting and it doesn't work. Frankly now I think it would have been better to spend some time to setup zsh.

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

but damn it's frustrating when you want to do a fast and simple bash scripting

Of course it's going to be frustrating to try to write bash scripts and then try to run them as fish scripts.

What you should be doing is writing fish scripts and running them as fish scripts. That is a much more pleasant experience. ๐Ÿ™ƒ

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

I know. I just don't want to. There's no point in learning fish scripting, you won't use them anywhere unless you want your colleagues to hate you because now they also have to learn it for no reason.

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

I only use my scripts privately and my scripts are now shorter and easier to read and maintain. Also I use it as my everyday shell, and I couldn't be happier with a shell right now, that I know of. The documentation is also extremely good. Simple to understand, and a small language.

There's a big point to learning it if you like its design principles. But if you don't, then there isn't. ๐Ÿ‘

Enjoy whatever shell you like!

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

I still write all my scripts for bash (or busybox sh) with a shebang, then call it from fish.

I do too but then you want to just run basic for i;do x;done and you need to translate it to fish syntax.

It wasn't much of a problem but this thread actually convinced me that there's less profit from fish than using something like an old oh-my-zsh(probably much easier to setup now).

Is it good if you setup your new pc, don't have your configs at hand and want a nice terminal with convenient features? Definitely. But I think it's better to spend 5 minutes afterwards to move away from it.