This is bait.
And I'm ready to fish
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
sudo in Windows.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.
This is bait.
And I'm ready to fish
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.
Plus, look at your name!
whatβs fish got? Iβm liking zsh here but am always open to a distraction instead of getting work done. :)
Lovely OOTB defaults. I basically change nothing except the theme.
Autocomplete, git context, etc. The QOL stuff you'd expect.
oh interesting. will give it a shot. basically sounds like zsh plus omz?
Be aware that fish isn't a POSIX-compatible shell enough, so you have to adjust syntax.
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 #!.
Am I out of the loop? what's wrong with zsh?
Classic linux tribalism. Use what you like and don't get involved with these confrontational nerds.
I mean, there's some things that became validly toxic due to their developers, example off the top of my head: Reiserfs
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!
Itβs stinky and smelly and smells bad.
Same as systemd, PipeWire, Wayland, Flatpak... basically, it's new therefore it is bad.
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.
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.
Calm down RMS, you're going to have another episode.
His episodes are just him being right over and over and us refusing to listen
Well and also eating his own feet
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.
But I'm a compliant little bitch for POSIX daddy
So write all your scripts in POSIX compliant bash and use the proper shebang?
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?
alias fuck='sudo !!' is probably the best thing I've ever added to my profile
zsh > bash
Brave stand, I will stand side by side with you until the first signs of mild resistance or mockery from the world!
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
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.
bait used to be believable
I use zsh and it's fine, I use it with starship, zsh-syntax-highlighting and zsh-autosuggestions
I literally do not notice any difference. If the folders and such get the pretty colors and tab works, I could give a damn.