this post was submitted on 12 Jan 2026
361 points (89.8% liked)

linuxmemes

30598 readers
1507 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 2 years ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] null@piefed.nullspace.lol 229 points 2 months ago (9 children)

    This is bait.

    And I'm ready to fish

    [–] Fisch@discuss.tchncs.de 90 points 2 months ago (5 children)

    Currently using zsh but I installed fish yesterday to try it out because I'm thinking of switching. All the zsh plugins I have are basically just replicating what fish has by default anyway and fish might do it better.

    [–] null@piefed.nullspace.lol 99 points 2 months ago

    Plus, look at your name!

    [–] joyjoy@lemmy.zip 31 points 2 months ago (4 children)

    Just whatever you do, don't ln -s /bin/fish /bin/sh

    load more comments (4 replies)
    load more comments (3 replies)
    [–] flandish@lemmy.world 28 points 2 months ago (1 children)

    what’s fish got? I’m liking zsh here but am always open to a distraction instead of getting work done. :)

    [–] null@piefed.nullspace.lol 38 points 2 months ago (3 children)

    Lovely OOTB defaults. I basically change nothing except the theme.

    Autocomplete, git context, etc. The QOL stuff you'd expect.

    [–] flandish@lemmy.world 7 points 2 months ago (12 children)

    oh interesting. will give it a shot. basically sounds like zsh plus omz?

    [–] Laser@feddit.org 12 points 2 months ago (3 children)

    Be aware that fish isn't a POSIX-compatible shell enough, so you have to adjust syntax.

    [–] rtxn@lemmy.world 21 points 2 months ago* (last edited 2 months ago) (1 children)

    That isn't incorrect, but it's not as important as people make it out to be. Linux isn't certified as POSIX-conformant either.

    People are way too stuck on POSIX regarding Fish specifically, but in shell scripting, POSIX compliance boils down to "can it run a pure sh script". Bash is compliant. Zsh is partially compliant and needs to set an option to emulate sh. Fish uses a different syntax and is not compliant; if that is a problem, don't execute sh scripts in Fish.

    POSIX compliance for shell scripts was important in the 80s and 90s when the #! directive wasn't as commonly implemented and every script might be executed by the user's $SHELL instead. That is no longer the case as virtually every Unix-like system's program loader supports #!.

    load more comments (1 replies)
    load more comments (2 replies)
    load more comments (11 replies)
    load more comments (2 replies)
    [–] KSPAtlas@sopuli.xyz 8 points 2 months ago (1 children)
    load more comments (1 replies)
    load more comments (6 replies)
    [–] db0@lemmy.dbzer0.com 80 points 2 months ago (12 children)

    Am I out of the loop? what's wrong with zsh?

    [–] three@lemmy.zip 122 points 2 months ago (2 children)

    Classic linux tribalism. Use what you like and don't get involved with these confrontational nerds.

    [–] db0@lemmy.dbzer0.com 15 points 2 months ago* (last edited 2 months ago) (5 children)

    I mean, there's some things that became validly toxic due to their developers, example off the top of my head: Reiserfs

    [–] three@lemmy.zip 13 points 2 months ago (3 children)

    True, software can call you a slur.

    [–] RickyRigatoni@retrolemmy.com 12 points 2 months ago

    It can when I write it.

    load more comments (2 replies)
    load more comments (4 replies)
    load more comments (1 replies)
    [–] grue@lemmy.world 30 points 2 months ago (13 children)

    It's permissively-licensed (as opposed to bash, which is GPLv3). Pushing zsh over bash is part of a larger effort by corporations to marginalize copyleft so they can more easily exploit Free Software at the users' expense. Don't fall for it!

    load more comments (13 replies)

    It’s stinky and smelly and smells bad.

    [–] SomethingBurger@jlai.lu 8 points 2 months ago

    Same as systemd, PipeWire, Wayland, Flatpak... basically, it's new therefore it is bad.

    load more comments (8 replies)
    [–] natecox@programming.dev 58 points 2 months ago (3 children)
    [–] kadu@scribe.disroot.org 34 points 2 months ago (1 children)

    Yay? Everybody knows you should use paru! /s

    load more comments (1 replies)
    load more comments (2 replies)
    [–] IrateAnteater@sh.itjust.works 34 points 2 months ago (6 children)

    I switched from bash to zsh a while ago, mostly just for shits and giggles. I really can't see any reason to form a strong opinion on it one way or the other.

    [–] grue@lemmy.world 26 points 2 months ago (1 children)

    Bash is copyleft (GPLv3). Zsh is permissively-licensed.

    Apple, for instance, switched from bash to zsh when the GPL version upgraded because they wanted to withhold those rights from their users.

    Zsh should be considered harmful as a tool of corporate encroachment and subjugation of Free Software.

    [–] db2@lemmy.world 28 points 2 months ago (1 children)

    Calm down RMS, you're going to have another episode.

    [–] drkt@scribe.disroot.org 27 points 2 months ago (11 children)

    His episodes are just him being right over and over and us refusing to listen

    [–] SomethingBurger@jlai.lu 16 points 2 months ago (1 children)

    He is always right.

    Except for that one time.

    load more comments (1 replies)
    [–] null@piefed.nullspace.lol 8 points 2 months ago

    Well and also eating his own feet

    load more comments (9 replies)
    load more comments (5 replies)
    [–] mlg@lemmy.world 28 points 2 months ago (2 children)

    Default zsh is just bash, you need to add all the fancy plugins to get it to do cool stuff

    fish is for people who don't want to spend the time setting it all up and to just get a shell that has most of the QoL fetaures builtin.

    [–] Tangent5280@lemmy.world 18 points 2 months ago (4 children)

    But I'm a compliant little bitch for POSIX daddy

    [–] Quantenteilchen@discuss.tchncs.de 9 points 2 months ago (2 children)

    So write all your scripts in POSIX compliant bash and use the proper shebang?

    load more comments (2 replies)
    load more comments (3 replies)
    [–] Nalivai@lemmy.world 10 points 2 months ago (7 children)

    Fish is for people who like it when sometimes scripts don't work

    load more comments (7 replies)
    [–] yardratianSoma@lemmy.ca 26 points 2 months ago (5 children)

    I have never really ever used bash and thought, "Man, I wish my shell was better . . . ". Using ctrl+r to recall past commands, using sudo !! to fix missing permissions and writing small bash scripts all work very well.

    That being said, if you use anything else, and you like it, I'm happy for you, but I do wonder, what leads people to other shells? What problems do they have with bash?

    [–] Ledivin@lemmy.world 12 points 2 months ago (2 children)

    alias fuck='sudo !!' is probably the best thing I've ever added to my profile

    load more comments (2 replies)
    load more comments (4 replies)
    [–] Chaser@lemmy.zip 26 points 2 months ago (1 children)
    [–] Tangent5280@lemmy.world 14 points 2 months ago (1 children)

    Brave stand, I will stand side by side with you until the first signs of mild resistance or mockery from the world!

    [–] ulterno@programming.dev 7 points 2 months ago

    Well guess what?

    #include <string.h>
    #include <iostream>
    
    int main (int argc, char *argv[])
    {
    	const int which = strcmp ("zsh", "bash");
    	std::cout << which << std::endl;
    	return 0;
    }
    

    Output
    1

    [–] LiveLM@lemmy.zip 17 points 2 months ago (2 children)

    Me hitting tab on any shell that isn't fish

    load more comments (2 replies)
    [–] juipeltje@lemmy.world 14 points 2 months ago (1 children)

    I never tried anything other than bash tbh. Not sure if i should. I never really looked into what i might be missing out on with a different shell. Bash just works so i never felt like messing around with it.

    [–] texture@lemmy.world 14 points 2 months ago (1 children)

    fish is worth trying. saves alot of typing

    load more comments (1 replies)
    [–] ashestoashes@lemmy.blahaj.zone 14 points 2 months ago

    bait used to be believable

    [–] callyral@pawb.social 13 points 2 months ago* (last edited 2 months ago) (2 children)

    I use zsh and it's fine, I use it with starship, zsh-syntax-highlighting and zsh-autosuggestions

    load more comments (2 replies)
    [–] specialwall@midwest.social 10 points 2 months ago (3 children)

    What specifically do you dislike about zsh?

    load more comments (3 replies)
    [–] muusemuuse@sh.itjust.works 10 points 2 months ago

    I literally do not notice any difference. If the folders and such get the pretty colors and tab works, I could give a damn.

    load more comments
    view more: next β€Ί