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

linuxmemes

28899 readers
2266 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 225 points 3 days ago (29 children)

    This is bait.

    And I'm ready to fish

    [–] Fisch@discuss.tchncs.de 88 points 3 days ago (4 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 96 points 3 days ago

    Plus, look at your name!

    [–] joyjoy@lemmy.zip 30 points 3 days ago (3 children)

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

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

    What specifically do you dislike about zsh?

    tbh it's fine and i use it a lot more than bash.

    [–] uid0gid0@lemmy.world 2 points 2 days ago* (last edited 2 days ago) (1 children)

    It's the index on 1 that ruins it for me.
    Edit: come to think of it what would zsh print out for echo $0?

    [–] rtxn@lemmy.world 1 points 1 day ago

    It follows the same convention as most programming languages that expose the argument list. Python's sys.argv has the program name at index 0 and the first argument at index 1. C's char **argv does the same: index 0 is the program name, index 1 is the first argument. So it stands to reason that Zsh's $0 should be the program name and $1 should be the first argument...

    ...which, by the way, is exactly what Bash does as well.

    [–] db0@lemmy.dbzer0.com 79 points 3 days ago (12 children)

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

    [–] three@lemmy.zip 119 points 3 days ago (10 children)

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

    load more comments (10 replies)
    [–] grue@lemmy.world 30 points 3 days 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)
    load more comments (10 replies)
    [–] mlg@lemmy.world 28 points 3 days 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 days ago (4 children)

    But I'm a compliant little bitch for POSIX daddy

    [–] Quantenteilchen@discuss.tchncs.de 9 points 2 days 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 days ago (7 children)

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

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

    Yay? Everybody knows you should use paru! /s

    load more comments (1 replies)
    load more comments (2 replies)
    [–] Chaser@lemmy.zip 26 points 3 days ago (1 children)
    [–] Tangent5280@lemmy.world 14 points 2 days 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 days 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

    [–] Treczoks@lemmy.world 1 points 1 day ago

    Zsh? That's a command shell I have not heard of for a very long time.

    Check the date on his computer, is it also set to something in the 1980s?

    [–] yardratianSoma@lemmy.ca 26 points 3 days ago (7 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?

    [–] crater2150@feddit.org 3 points 2 days ago

    I switched to zsh at a time where completion for commands parameters except file paths in bash wasn't really a thing, you could add some with a script, but they didn't work well. I'm sure the situation has improved by now, but someone told me recently, there are still no descriptions for the completions. I find it very helpful and it saves me opening a man page a lot of times. For example, typing grep -<Tab> gives me this: 8167

    And now I'm so used to many little features (mostly around the syntax) that wouldn't be a reason to switch on their own, that I find bash cumbersome to use.

    load more comments (6 replies)
    [–] LiveLM@lemmy.zip 17 points 3 days ago (2 children)

    Me hitting tab on any shell that isn't fish

    load more comments (2 replies)
    [–] IrateAnteater@sh.itjust.works 34 points 3 days ago (20 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.

    load more comments (20 replies)

    Nushell is very cozy for me. I work with SQL all day so I ended with PTSD and having my terminal syntax cosplay as it is nice.

    load more comments
    view more: next β€Ί