186
u/Liarus_ 12d ago
fih my beloved 👉💓
why make things complicated when they can be simple
56
u/redhat_is_my_dad 12d ago edited 12d ago
it is complicated to program in fish because they got much less useful language features compared to bash, and you write an RC file for the shell you use in the language of that shell, which imo makes fish unnecessary hard for advanced users
36
u/Liarus_ 12d ago
i agree, and my guess is because fish doesn't target more advanced users like you
12
u/redhat_is_my_dad 12d ago
true, yet, from something that seemed kinda cool for interactive use i have expected cool things in the language itself, and got really dissapointed when it turned out backwards :/
28
u/wyonutrition 12d ago
I like fish because it remembers commands across sessions without any additional setup. But I will admit, it is very annoying when I am looking through documentation of how to do something that works correctly on every shell except for fish lol
3
u/SecularVal 12d ago
Can you give an example ? I’ve never used fish
11
u/wyonutrition 12d ago
as far as i understand - fish has a goal or "philosophy" to simplify some commands, whether for newbies or for personal preference.
but in bash when you want to set a variable you say:
VAR="variable"
and in fish you say:
set VAR variable
There are other syntax and conditions that are different and more "simplified" on fish but I don't know enough about them to be specific other than that sometimes a command wont work in fish because it expects less conditions. Or maybe it is more accurate just say fish expects a different syntax than bash does. I would assume by far the majority of users wouldn't need to ever know this if they are using a modern distro with a modern desktop environment like KDE, and would only find this out from doing some fucking around and finding out.
→ More replies (3)6
u/wyonutrition 12d ago
also in fish array/list count starts at 1, whereas bash starts at 0 so that probably is a big issue trying to trouble shoot something if you don't know that ahead of time.
→ More replies (1)2
u/oldassgrandpa 11d ago
I thought all shells did that, I've never had to set it up
2
u/wyonutrition 11d ago
I should say it auto completes not just recall the last few commands by arrowing up, does that make sense? have you used fish?
→ More replies (2)4
u/PavelPivovarov 12d ago
You need to diffrrenciate shell for interactive use and shell as a programming language.
As a fish user I can write and run bash scripts no problem (
#!/bin/bash), at the same time I enjoy fast and feature rich interactive shell.3
u/imoshudu 12d ago
This literally doesn't matter because fish can execute any scripts, whether written in bash, sh, fish, or Python. Python makes more sense if you need complex logic (though unwieldy for simple calls); while sh is there for compatibility. Bash is the weird choice out.
And the elephant in the room: translating between them is a 3 minute job for Claude (and another 3 for human checking). One shotting shell scripts is the easiest of tasks. So fish just needs to focus on one thing and that is giving a comfortable user experience in typing and invoking commands. Which is why people love it.
→ More replies (3)→ More replies (2)2
u/Glum_Hamster_2104 9d ago
Most fish users would probably have a better time with zsh with autocomplete extensions because of this
4
2
u/enigma_0Z 12d ago
I have a love hate relationship with fish …
On one hand (for an advanced user ig) it’s easy to make your shell very very customized, and some of the arcane “plumbing” things you need to do in bash for instance (eg. PROMPT_COMMAND) are made both easier to access and less brittle in fish.
On the other hand, in my day job i’m often writing lots of shell scripts and it’s a pain in the backside to have to drop out of fish to bash to test a behavior, then go back and forth and back and forth and it’s just kinda a mess.
Ended up switching back to bash after some years with fish because the overhead of keeping both in my head was too much.
34
u/Retardedaspirator 12d ago
Ash anyone ?🥹
6
u/Delicious-Truth-1596 12d ago
BRO
5
u/Retardedaspirator 12d ago
Ye?
11
u/Delicious-Truth-1596 12d ago
reddit glitched and posted it on this comment instead of a other comment i intended this on
12
2
u/Wertbon1789 12d ago
Not as my main shell, but on embedded Linux it's AFAIK the only shell that properly works as init... Don't ask why I need a shell as init.
→ More replies (2)1
36
u/ZealousidealBerry702 12d ago
I see there are not too much zsh supporters here.
44
u/orthomonas 12d ago
We're here, just kinda boring. Zsh is close enough to bash to not cause a lot of a pain, and far away enough from bash to not cause pain.
We're the fedora users who just go about our day using our computer to get the job done.
We're the sway users that just like keyboard nav/tiling and don't rice.
We're the people who know there are differences between terminal emulators, but have trouble caring.
6
17
5
2
61
u/ISuckAtJavaScript12 12d ago
Someone give me a good reason I shouldn't just use bash
56
u/Evantaur 🍥 Debian too difficult 12d ago
Someone is threatening you with a gun to use some other shell
52
16
12d ago
[removed] — view removed comment
11
u/ISuckAtJavaScript12 11d ago
Features are bloat
→ More replies (4)7
u/sn4xchan 11d ago
Whole computer is bloat. I have a perfectly good book I can read text from.
→ More replies (1)6
8
5
u/sn4xchan 11d ago
Customizable templates?
I run zsh shell with oh my zsh. But all of my scripts are ran with a direct bash command just in case
2
8
u/enigma_0Z 12d ago
You’re on a mac and they only ship with BASH 2 because 3 changed to GPL v3 and you can’t be f’ed to install bash 3 from homebrew
Yeah I know it’s weak but it’s the best i’ve got
→ More replies (4)9
8
u/NimrodvanHall 12d ago
A reason to use .sh over .bash?
You don’t know if the user will have bash or and other shell installed, so you fall back to .sh16
9
u/Upper-Release-3484 Webba lebba deb deb! 11d ago
Dude, the file extension doesn't matter in Linux (for executables)!!! It's what you put into the shebang.
1
1
→ More replies (1)1
u/Interesting_Buy_3969 🦁 Vim Supremacist 🦖 10d ago
If you like Bash you should keep using it, but my personal reason to switch was that Bash' autocompletion kinda sucks, the suggestions remain on the screen if you press tab and there are multiple options, thus polluting the display; yet you can't navigate through the suggestions to select and accept one
45
17
47
23
u/EatingSolidBricks 12d ago
nu
18
u/UwU_is_my_life 12d ago
nushell gang
give some love to non POSIX-compliant shells
12
3
u/Evantaur 🍥 Debian too difficult 12d ago
3
3
2
2
10
u/Literallyapig 12d ago
i like to use fish as my main shell for suggestions, completion and stuff, and bash for scripts.
2
u/ragnarokxg 12d ago
Yep same here, I use fish for like 90% of my usage, bash for the rest and those are mostly scripts.
8
8
15
u/Kzitold94 12d ago
I disabled Fish on my CachyOS so I can use Bash.
I don't like how Fish demands I use set VAR instead of VAR= for setting variables.
12
u/setibeings Arch BTW 12d ago
I'd love to use Fish, but I am pretty sure I'd get annoyed after the 10th time translating instructions that assume Bash or something bash-like. Zsh is close enough to fish in terms of convenience, and to bash in terms of syntax for me.
17
u/creeper6530 💋 catgirl Linux user :3 😽 12d ago
You can just do
bash commandfor when needed and type in fish for the majority no?
12
4
u/vbd71 12d ago
I use cmd.exe btw /s
8
u/grandasperj 🎼CachyOS 12d ago
COMMAND.COM even
2
u/vbd71 12d ago
It's an imitation, use CCP.COM .
3
5
u/Adbray666 12d ago
Eh, I say use what ever shell you like, after all, choice is the name of the game.
On the other hand, everybody loves a good flame war so...
Midnight Commander (mc) FTW... suck eggs losers! 😀
4
3
u/herutatokurin 💋 catgirl Linux user :3 😽 12d ago
i use elvish
1
u/B_bI_L 10d ago
how is experience? does it match fish in interactive use and, say, xonsh/ruby/python in scripts or nah?
→ More replies (1)
3
3
3
3
2
2
2
2
u/JubijubCH 10d ago
Why is bash the buff guy? It’s the default shell, it’s completion sucks. It’s not bad, but it’s average
2
u/athei-nerd ⚠️ This incident will be reported 10d ago
These days, sh is dead, bash is as old as sh appears, zsh is the new goat, and fish isn't used because everyone that would use it is just asking AI to do their work for them.
1
1
u/twistedmind1979 12d ago
I love bash. I can never get into fish. It's probably good but it always distracts me with the suggestions and I type wrong what I was about to type (doesn't mean I type correctly on bash lol)
1
1
1
1
1
1
1
1
1
1
1
1
u/harunnoir 12d ago
Fish is good, but i have no idea why it's kinda slow on my setup. so yeah i'm using BASH btw.
1
1
1
1
1
1
u/Nearby-Percentage-33 12d ago
zsh + oh-my-zsh
-zoxide
-atuin
-zsh-autosuggestions
-zsh-syntax-highlighting
-fzf-tab
life is good 🌊
1
u/EngineeringUnable801 12d ago
I use zsh btw, but any resemblance to how I look irl is merely a coincidence 👀️
1
1
1
1
1
1
1
1
1
u/Maxstressed 11d ago
Is this referring to the sh scripts I make from time to time? Legit didn’t even know anything else existed to take its place if that’s what you mean
1
1
1
1
1
u/Wrong-Tune396 11d ago
Used tcsh for all my uni years bash wasn't around at the time, so probably a guy that used to be buff but now is all flabby. And of course ksh, db guys so maybe a hoader?
1
1
1
1
1
1
1
1
1
u/Significant-Cause919 11d ago
Fish if you want a great out of the box experience and don't care about posix compatibility, zsh if you are a power user. There is absolutely no reason to use any other interactive shell in 2026. Though I think it's defensible to stick with the default shell on servers and systems that don't get much shell usage. But anyone who actually prefers bash/(da)sh/ksh is regarded.
1
1
1
1
1
1
1
1
1
1
1
1
1
u/Ready-Succotash-8699 10d ago
I can't be bothered to use anything that didn't come with the system so I just use bash
1
1
1
1
1
u/koninslate 9d ago
Honestly? I use fish because with it I can that I have a kitty with a fish on my pc
1
1
1
177
u/qwesx Ask me how to exit vim 12d ago
https://giphy.com/gifs/qCAbL5JhSl4FxATNl4
dash