People switch to zsh either to be special snowflakes or because they see cool zsh prompts in desktop threads or because they hear it has better completion (I personally don't think it does). Most of them have no idea that the same look can be achieved with bash, that you can embed commands into your PS1, they probably haven't heard of PS2, PS3 and PS4 and they probably don't even know what readline is. They haven't heard of inputrc, they don't know how to add custom keybinds to macros in bash, they don't know that you can change the editing mode of the interactive shell to be Vi-like. They don't know about incremental search nor do they know about different completion settings.
Some may say that it's better for scripting, but scripting in a non standard shell is pointless, since you still need to know POSIX scripting and in most cases bash, since it has more features than sh and unlike zsh it's everywhere. If you want to use a sane language for scripting, use python or if you're working on a larger project, you might also want to consider using a non interpreted programming language like C.
Zsh users are mostly ignorant impressionable people, hipsters of all sorts including nu-male macfag webdev sitting at starbucks types and most of them like to pretend to be cool for using a non standard shell while barely having scratched the surface of bash/readline and I do not want to be associated with them in any way. In order to make an informed decision about which shell to use, you've got to at least know the basics of both shells and what readline is and what you can do with it.
>hating on GNU >trendy People have hated GNU since its inception. Literally the only reason it exists is because it's free. Both ksh and csh predate bash and provide a better experience. With things like tcsh, zsh, and fish existing, there's really no excuse to use bash unless you're dedicated to GNU for some reason.
Even GNU systems do not like to use it. Look at the necessity for dash. So we have a bad interactive shell, and a bad interpreter. If bash didn't have sh as a base for its extensions, nobody would use it.
Like everything in GNU, it builds on the work of actual engineers while adding nothing of value itself. Unless you cound slower runtimes with larger binaries to support the features you never asked for with the ugliest syntax possible.
Cameron Davis
>its $(date +%Y) so you should only use gui There are hundreds of ways to do x in each implementation of different UI's, but if you know how to do x in the command line, you can do it despite which DE/WM if running, or if even if Xorg isnt running at all.
This. Use bash with set -o vi in your bashrc and you should have no issue navigating the shell
Ethan Rodriguez
I just wanted to try something new but alright...
Jordan Williams
zsh is garbage everything is better than it
Jayden Morgan
You sound like you tried to run a bash script that was written by a zsh user and got triggered when it didn't work properly so you decided to post an anti-zsh rant.
Jose Sanchez
I wasn't the the user who posted that but I still somewhat agree with his sentiment. Read the cross-threaded question in OP. That is definitely coming from a zoomer who has zero idea about scripting except knowing how to use the supposed "efficient tab completion".
Benjamin Lopez
bash autocomplete is pretty bad compared to zsh. that's about it for why I switched
I use zsh and I write compilers and interpreters for fun with REPLs, completion and readline bindings I don't care what you think of me but I think it's hysterical that shallow people like you get so tribal over the most insignificant things Tell you what, if you don't want to be like me, wear a skirt People like me wear pants
Caleb Butler
zsh is just a better shell, period. The only thing that's really stupid about it is the crazy unreadable expansions bullshit they add like ${(e:somebullshit: more bullshit)varname} and the crazy ass one liner cancer abusing "anonymous functions" syntax.
Jose Cook
>mostly its just that it's popular and trendy to hate on GNU stuff. Thats all this thread is, its trying to support the ancient GNU OPERATING SYSTEM, god forbid people stop using copies of unix tools so a jew can parade around and act like he invented unix
Camden Walker
But bash is a replacement for a unix tool and its written by a black guy not a jew.
Xavier Scott
remember kids, Steven Bourne was a NIGGER, the fact that he went to Cambridge and worked at Bell Labs for 9 years means nothing. so were NOT copying unix because Steven Bourne was a NIGGER en.wikipedia.org/wiki/Stephen_R._Bourne
>But bash is a replacement for a unix tool and its written by a black guy not a jew. jew logic at its best, I can understand why everyone here worships rms so much
commandlinepoweruser.com/ this is a free video tutorial that gives a quick overview of zsh and oh-my-zsh features for people who want to get work done rather than use what everyone else uses
Connor Lopez
bash is a bloated piece of shit it's slower and more bloated than even fucking zsh most of the shell features of bash and zsh originated in the korn shell (ksh) ksh is the standard upon which POSIX was based on, although ksh has non-posix features (the extra scripting features bash/zsh also have) zsh just has a better features, functions, and builtins by default. The alternative to zsh IS NOT bash, if you want a less user friendly, less sane defaults, less extensible shell, you use ksh (mksh or openbsd pdksh), not bash
Jaxon Thompson
It HAS better configuration, at least when configured. Bash is held back by the shitty, primitive readline.
For interactive use I have hopped onboard the fish shell train. It's really really nice.
Anthony Sanders
literally pointless >what is pkill/killall
Isaac Johnson
I use zsh because it is easier to configure.
Easton Sanders
this. almost as retarded as the guys who run fish.
John Hernandez
>this retard tripfag again
Lucas Baker
THERE'S NOTHING WRONG WITH MY FAVORITE SHELL YOU FUCKING NIGGER.
Adam Rodriguez
Based. I agree with every single thing you mentioned in the post. It's mostly just the Arch kiddies or mac webdev basedboys (oh-my-zsh) using zsh. Bash already is bloated you don't need a webserver built into your shell. But the fact that most of distributions ships it as the default shell make the whole thing different it's kind of become the standard shell. I use bash on Gentoo (it's required for portage), and ksh on OpenBSD and I see no reason to change them. For scripting though, I prefer POSIX syntax, as it works on both of them.
Cooper Brooks
>readline >not using based zle
Benjamin Collins
Bourne Shell Bourne Again Shell Bourne Identity Shell Bourne Supremacy Shell Bourne Ultimatum Shell Bourne To Cook Shell
Benjamin Diaz
Basically this: >[Bash is] slower and more bloated than even fucking zsh
If you're writing scripts other people will use, the shell you use doesn't matter because bash isn't POSIX compatible either. If you write bash scripts and then distribute them kill yourself. And if you're writing scripts for yourself, then easy arrays and syntactically sweet for loops, floating point support, and stuff like that are very nice to have. Mksh is the proper alternative. Bash isn't.
Robert Nelson
>oh-my-zsh Now THIS is macfag in a coffee shop tier bloat
James Hernandez
Bash is standard. Posix sh is a meme that is laugably underspecced.
There is absolutely no reason to use any shell other than bash. Anyone who denies this is either contrarian or ignorant. >muh bloat My computer can handle a 700K binary, and so can any machine released in the past 30 years.
Jacob Fisher
people install zsh for the gay shit. Jow Forums larpers don't write more than boorou scraps anyway. that's the retardedest thing i saw today, if you want performance use python, perl, lua, c...
Angel Rivera
Kek.
David Hill
you can do that in bash too, retard
Brandon Robinson
Any shell is good enough for most purposes. Debian comes with bash and my workplace computers come with zsh and that's just fine.
Lucas Richardson
If you're writing portable shell scripts, sure, it doesn't matter. However, if you're writing scripts for yourself, at this point use an actual, general-purpose programming language such as Perl or Python, both being available in virtually any Unix-like operating system and the former being much faster than shell scripts. There is absolutely no need to use faggot hipster shells.
John Flores
Exactly what is this supposed to show off? Any shell can do such basic stuff.
Cameron Baker
Creator of bash on the right, creator of zsh on the left
Fair, but that's not a reason to use bash either, so OP is still a faggot.
Benjamin Adams
This is my bashrc shopt -s cdspell bind 'TAB: menu-complete' bind 'set show-all-if-ambiguous 1' bind 'set colored-completion-prefix 1' bind 'set menu-complete-display-prefix 1'
It's still not nearly the same. cdspell only works for cd and not even for autocomplete. ls .png doesn't work menu-complete doesn't work on big folders where the pager comes.
Is there a truly zsh completion style config for bash? I can't use zsh everywhere and would really like if it's as good.
You press up and it retrieves relevant history entries
You can't do this with bash
so if you had ls -lah in your history but a while ago typing ls retrieves all history entries with "ls" in it
Brandon Carter
Not Ganoo Bash.
John Cruz
zsh+ohmyzsh+random_theme master rice
Austin White
Imagine being a shill for a shell.
Michael Perry
>bash isn't POSIX compatible Name one thing bash does that isn't POSIX compatible
Christian Garcia
Literally search "bashism" and gaze upon the dozens and hundreds of results I know there are also some behaviours that downright contradict POSIX by default, and in the usual gnu style you can force it to be "posixly compatible" in the options, but I can't remember off the top of my head. If you're interested you could again look it up, or wait a few hours until I get the time to do so myself and post it here
Zachary Cox
>Literally search "bashism" and gaze upon the dozens and hundreds of results Yeah I figured you just didn't know what "POSIX compatible" means
Landon Lee
Yeah I figured your attention span was too short to notice the entire second paragraph
Charles Ortiz
The second part is just restating the claim from . It provides nothing new.
Isaac Young
No, they have nothing to do with each other. The second half of my post explicitly states: "I know there are also some behaviours that downright contradict POSIX by default" Meaning you could write a POSIX script and without setting a special option in bash to force it to become compatible, it would behave differently
Jackson Allen
>"there are also some behaviours that downright contradict POSIX by default" and >"bash isn't POSIX compatible" means the same thing. There's no point restating an assertion without providing any additional information.
The fact that you can't think of even a single issue off the top of your head shows what a non-issue this is.
In practice, no one is going to write cmd &> file intending to background a command and truncate a file, but get tripped up by the &> bash extension. No one is going to write export VAR=$value and get upset that bash doesn't word split in this context.
>2019 >gay commandline >something wrong being gay in 2019 >actually not being gay in 2019 >... >2019 >not being gay
Tyler Morgan
>something wrong being gay in 2019 There is a place where it's appropriate for a man to admire the body of another man, to touch his ass and hold him tight in an intimate embrace. It's called a football field and you're a day late. Wait for the next season.
Nathan Bailey
huh? what does this have to do with anything are you braindead ?
Jayden Nguyen
t. guy on the left
Julian Martin
use a shell for its purpose. bash has different features than zsh, thats it. If you like the readline editor, completion system or the TCP functions ZSH offers and many other things you can do with it, go with it. If you don't like it or the handling feels weird to you, use something else
There is no "better", none of these shells does something new or different, they are just homosexual versions of the KSH
William Gonzalez
t.butthurt zsh user
Ian Wright
lets be honest here. everyone that has done some scripting on those languages knows that they work but are shit languages with zero verbosity, the amount of hacks you use to make it work like intended is astonishing and lets not talk about all those pseudo programming concepts that are just programs with input output is ridiculous yes it makes it much easier to work with data and files but the code looks terrible.
I vote for replacing it with a specialised language for data handling without the complexity of modern languages. It also should have a method for bindings like you do in the current system with alias or functions in your bashrc folder.
Angel Morgan
Wait. Are you telling me that at this very moment there are people on 4channel's technology board who aren't using fish?
The only thing I like about zsh is being able to type `cd /` and it scrolls up the last occuring string that starts with `cd /`. It makes things a little easier, I guess. Do one for mksh now.
Nolan Watson
Jesus, you actually wrote all that about your own insecurities?
>that's the retardedest thing i saw today That's the most retarded thing I've seen today.
Justin Murphy
>tripfag >zshtard lmao
David Hill
>killing the wrong process because pkill matched incorrect pid >killing everything when you only want to kill one process
Chase James
Thanks for the concern. I actually ran it down to 2% after posting that. I was checking out the autonomy. Got me some 10.5 hours of SoT. Not too bad. I'm back at 90% now. Fast charging is the best invention of the century desu.
Julian Morgan
portability is the only reason anyone can come up with to stay with bash, and bash is not portable, so there is no reason to use bash
if you're working as a web dev or dev ops or anything where your work is isolated to your own company that portability is a non-issue and there is no reason at all to use bash or sh or whatever
Logan Baker
Oh, I guess you can.
The only downside of zsh is when it fucks up random shit like command args that wouldn't happen in bash; e.g jq commands have filter issues
Samuel Wright
>garbage this
Nathaniel Harris
>Zsh users are mostly ignorant impressionable people, Until here it looked legit, but then it became apparent troll.
Brody Reed
I fucking couldn't make Zsh completion work. Yes, there is a lot of predefined stuff, but making new is fucking hard.
Jason Davis
just use fish
Parker Lee
>fish shell is bloate-
pi@raspberrypi:~ $ ls -al /bin/bash -rwxr-xr-x 1 root root 912712 May 15 2017 /bin/bash pi@raspberrypi:~ $ ls -al /usr/bin/fish -rwxr-xr-x 1 root root 927220 Dec 11 2016 /usr/bin/fish
Brody Lee
I like ash and oh-my-ash since there’s a lot of community plugins and it’s convenient to install a bunch of autocompletes. Im not a fan of the themes or power line though, I find them distracting.