542
I can't like the fish (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] Dagnet@lemmy.world 73 points 2 days ago

imo fish is the best out of the box for me, but I just use bash cause its everywhere

[-] smiletolerantly@awful.systems 55 points 2 days ago

I just wish fish would accept standard bash syntax in addition.

Like, if you can warn me that "this is not how we set vars in fish, do this instead!" then you could also just, you know, do it.

[-] EponymousBosh@feddit.online 5 points 1 day ago* (last edited 1 day ago)

Our last apartment had a microwave that insisted that the off/cancel button was ONLY for the microwave part and NOT the timer part, and if you tried to use it to turn off the timer, would display a message saying "push timer button to turn timer off" (or smth to that effect). I found it infuriating. I told my wife, "if they can program it to sass me, they can program it to turn the damn timer off."

Anyway. I get it.

[-] lime@feddit.nu 28 points 2 days ago

yea but the posix sh set syntax is atrocious so not supporting it is doing you a favor

[-] Laser@feddit.org 8 points 2 days ago* (last edited 1 day ago)

It's Stockholm syndrome

I mean who doesn't like putting mandatory quotes around all variables (though exceptions, like in [[ ... ]], apply)?

Or keywords like fi and esac or worrying about $IFS

[-] lime@feddit.nu 1 points 1 day ago

fi and esac but not rof or elihw

smh my head

[-] Laser@feddit.org 1 points 1 day ago
[-] lime@feddit.nu 3 points 1 day ago

bash could really have improved things by giving us noitcnuf.

[-] davidagain@lemmy.world 1 points 1 day ago

I support this amendment.

[-] Hawke@lemmy.world 1 points 1 day ago

keywords like fi and esac

But it’s so clever!

[-] nialv7@lemmy.world 15 points 2 days ago* (last edited 2 days ago)

I just wish my local restaurant would accept burger orders in addition.

Like, if you can warn me that "this is a Chinese noodle restaurant, we don't do burger here. Order one of these instead!" then you could also just, you know, make me a burger!

[-] smiletolerantly@awful.systems 7 points 2 days ago

That analogy only holds if they cook the burger for you, hold it in front of you, and go "we don't make this", then throwing it out

[-] nialv7@lemmy.world 5 points 2 days ago

No, it'd be like, when you asked them do you know what a burger is? They pointed at a picture of a burger on the wall (they put this picture on the wall because for whatever reason people kept asking them to make burgers), and told you, of course we know what a burger is, we don't make them, now order noodles or get out!

[-] smiletolerantly@awful.systems 1 points 1 day ago

Okay, you know what... That's actually better than what I said. Defeat acknowledged.

(However, it still seems a bit silly to me. name="value" will prompt you to enter set name "value", with your exact name/value prefilled. As far as I know, it really is just syntax substitution; or am I wrong here? Are there semantic differences that can't be translated?)

[-] nialv7@lemmy.world 2 points 1 day ago

i think it could be a slippery slope thing. things like name="value" are easy to parse and implement, but then what if people keep asking for a little bit more, and a little bit more again? bash's syntax is very very complex, there will be no winners if fish has a half-assed implementation of what bash does, it's better to not even start.

[-] tetris11@feddit.uk 4 points 2 days ago

you, I like you. Let's bang!

[-] akwd169@sh.itjust.works 2 points 1 day ago

So you want to bash fish like some kind of sicko?

[-] smiletolerantly@awful.systems 1 points 1 day ago

No, I'm really happy with fish in general and use its syntax. The only times are things like e.g. a coworker sending me a 3-line script and then not being able to just copy, paste, enter.

[-] merc@sh.itjust.works 23 points 2 days ago

Yeah, that's where this meme fails. BASH is the default and has been for decades. Most people are not Gigachad.

I'll accept FISH as being for babies, Zsh as being for Emo types or extra nerdy people. SH being for white beards makes sense.

BASH is:

IT Guy

[-] elephantium@lemmy.world 6 points 2 days ago

I used a macbook for work for a while with zsh in the terminal. IDK whether I qualify as emo, but I am nerdy. I only think of myself as regular nerdy, though, not extra nerdy.

[-] merc@sh.itjust.works 1 points 2 days ago

Was zsh the default at the time? Or did you switch to zsh? AFAIK the new default is BASH, but it was zsh for a while.

IMO, your level of nerdiness is much higher if you change the default shell.

[-] elephantium@lemmy.world 4 points 1 day ago

I had to go back and check. Apple says that the default changed from bash to zsh in Catalina (10.15). I seem to recall a message coming up on the machine about zsh. I definitely remember poking around at config files and looking at iTerm2 vs. the default terminal app at the time.

Does that make me extra nerdy? IDK. I can tell you that I was more focused on "What's going to be comfortable to work with" vs. nerding out on shell differences.

I do miss homebrew now that I'm working on a Windows laptop.

[-] w33n1s@lemmy.world 1 points 20 hours ago

I do miss homebrew now that I’m working on a Windows laptop.

winget m'boy

[-] elephantium@lemmy.world 1 points 13 hours ago

Ooh, worth a try. I'm not sure whether I have the necessary permissions, though. My work laptop is pretty locked down.

[-] w33n1s@lemmy.world 1 points 13 hours ago

Good luck! No huge loss if it doesn't work though, at least in my opinion. I like it for finding and installing software, and bulk upgrading everything at once, and the ability to do it all remotely with relative ease. But it's not as powerful in terms of dependency management and whatnot, coming from POSIX package managers

[-] merc@sh.itjust.works 1 points 1 day ago

Maybe I remember wrong, but my memory is that at one point MacOS had zsh as the default and then switched to BASH, and then maybe back to zsh again. But, since Internet search is broken these days, I can't find anything about that.

[-] elephantium@lemmy.world 2 points 1 day ago

All I can really tell you is that I remember seeing a message about the new default being zsh, and that was back in 2020 or maybe 2021. So it def switched from something else to zsh, but whether it was bash -> zsh or zsh -> bash -> zsh...shrug

[-] FedX@quokk.au 16 points 2 days ago

Yeah, I agree. It's quirky, its syntax is annoying, and a good ZSH setup is probably better... but I don't have the time to do an actual ZSH setup.

[-] tyler@programming.dev 18 points 2 days ago

A good zsh setup is not better. That’s why I switched off of zsh after years, because it was slower, more bloated, and less intuitive than fish. And bash is ten times worse than zsh.

[-] FedX@quokk.au 7 points 2 days ago

Huh, the more you know. My only experience with ZSH is when I briefly used Manjaro, and it seemed fine at the time... but now that I say that I think about it, "Manjaro defaulting to it," might have been a bit of a red flag...

[-] tyler@programming.dev 15 points 2 days ago

Yeah to get the same setup in zsh you have to install a plugin manager and then quite a number of plugins. Most people default to omz (oh my zsh) but that’s the slowest way. If you pick through all the managers you can get a decent one, but even without a manager the overhead of loading plugins is just slower than building it in like fish does. Fish just is better. And I don’t think I’ve ever once needed posix syntax. If I need to run a script and it doesn’t have a shebang at the start then I just run > bash and start the script there.

[-] FedX@quokk.au 3 points 2 days ago

Yup, that sounds exactly like what I do.

[-] tyler@programming.dev 2 points 2 days ago

lol yeah. Like I thought I needed all this crazy stuff tacked on when in reality I just wanted sane defaults. The only thing I add to fish now is the spaceship prompt.

[-] Skullgrid@lemmy.world 8 points 2 days ago

I'm not learning shit that can't run on everything.

Source : I got a fistfull of salesforce certs in order to toe the line in my previous job, and I am currently looking for work.

[-] mmmm@sopuli.xyz 2 points 2 days ago

I use bash because gentoo's portage has a hard dependency on it so in my mind it doesn't make much sense to install and keep yet another shell just because colors and autocompletion. If they ever get rid of the bashisms in portage I'd surely consider moving to fish, but getting rid of the bashisms in portage means that portage could be ported to the BSDs one more time and we could have Gentoo/BSD again

this post was submitted on 23 Jul 2026
542 points (100.0% liked)

linuxmemes

32200 readers
538 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 3 years ago
    MODERATORS