About zsh

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.

Extracted from Thoughts?

Attached: 1541851838650.png (400x400, 4K)

Other urls found in this thread:

unix.stackexchange.com/questions/148035/is-dash-or-some-other-shell-faster-than-bash/148098#148098
en.wikipedia.org/wiki/Stephen_R._Bourne
commandlinepoweruser.com/
en.wikipedia.org/wiki/Brian_Fox_(computer_programmer)
twitter.com/SFWRedditVideos

dude it's 2019 fuck off with your gay commandline

mostly its just that it's popular and trendy to hate on GNU stuff.

>i want to used a gimped version of my computer

>shell vs shell autism thread
Relevant:
unix.stackexchange.com/questions/148035/is-dash-or-some-other-shell-faster-than-bash/148098#148098

Attached: shells.png (684x1139, 186K)

>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.

>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

I just wanted to try something new but alright...

zsh is garbage
everything is better than it

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.

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".

bash autocomplete is pretty bad compared to zsh.
that's about it for why I switched

So.

Btw look at this cool gif of zsh completion.

Attached: thiskillstheautist.gif (1920x1080, 244K)

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

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.

>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

But bash is a replacement for a unix tool and its written by a black guy not a jew.

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

Attached: s.jpg (200x200, 6K)

>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

idk guys fish just seems...friendlier

Attached: fish.png (275x275, 8K)

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

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

It HAS better configuration, at least when configured.
Bash is held back by the shitty, primitive readline.

zsh master race

Attached: output2.webm (1210x568, 363K)

Children;
is bait.
Don't respond to bait.

For interactive use I have hopped onboard the fish shell train. It's really really nice.

literally pointless
>what is pkill/killall

I use zsh because it is easier to configure.

this. almost as retarded as the guys who run fish.

>this retard tripfag again

THERE'S NOTHING WRONG WITH MY FAVORITE SHELL YOU FUCKING NIGGER.

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.

>readline
>not using based zle

Bourne Shell
Bourne Again Shell
Bourne Identity Shell
Bourne Supremacy Shell
Bourne Ultimatum Shell
Bourne To Cook Shell

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.

>oh-my-zsh
Now THIS is macfag in a coffee shop tier bloat

Bash is standard. Posix sh is a meme that is laugably underspecced.

Actually, ksh is the standard

arch+i3+zsh is the gay triad of Jow Forums

pic related - your typical zshfag

Attached: >zshfags.png (798x520, 226K)

I use bash no theme with autocomplete plugin. Dont need anything more.

what was that video?

Work on that physique, man.

Attached: 1520432234585.jpg (93x125, 2K)

>what is .inputrc
TAB: menu-complete

I swear all the memes about faggots using meme shells for merely not knowing bash are truer than ever.

Use mksh or fuck off with your bloat

You are retarded.
en.wikipedia.org/wiki/Brian_Fox_(computer_programmer)

Attached: 1545138042400.png (220x294, 94K)

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.

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...

Kek.

you can do that in bash too, retard

Any shell is good enough for most purposes.
Debian comes with bash and my workplace computers come with zsh and that's just fine.

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.

Exactly what is this supposed to show off? Any shell can do such basic stuff.

Creator of bash on the right, creator of zsh on the left

Choose wisely

Attached: 1A657B3B-CEB9-4393-85AE-C733D0C1E01B.jpg (763x385, 245K)

Fair, but that's not a reason to use bash either, so OP is still a faggot.

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.

>what theme are you using

Attached: topkek.jpg (801x534, 27K)

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

Not Ganoo Bash.

zsh+ohmyzsh+random_theme master rice

Imagine being a shill for a shell.

>bash isn't POSIX compatible
Name one thing bash does that isn't POSIX compatible

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

>Literally search "bashism" and gaze upon the dozens and hundreds of results
Yeah I figured you just didn't know what "POSIX compatible" means

Yeah I figured your attention span was too short to notice the entire second paragraph

The second part is just restating the claim from . It provides nothing new.

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

>"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.

fish for personal
ksh/bash/sh for servers

Why would you use zsh when fish exists?

>having to configure you're shell

Attached: [HorribleSubs] Endro - 02 [720p].mkv-0010.jpg (1280x720, 83K)

this is sad

Attached: 1526056722812.jpg (562x437, 42K)

fish

>2019
>gay commandline
>something wrong being gay in 2019
>actually not being gay in 2019
>...
>2019
>not being gay

>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.

huh? what does this have to do with anything
are you braindead ?

t. guy on the left

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

t.butthurt zsh user

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.

Wait. Are you telling me that at this very moment there are people on 4channel's technology board who aren't using fish?

Attached: Screenshot_20190204-190012.png (1080x1920, 68K)

lmao imagine needing to install a whole other shell because you're too dumb to write a simple .bashrc

Attached: 2019-02-01-1549047211.png (1366x768, 2.54M)

You're battery is dangerously low!

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.

Jesus, you actually wrote all that about your own insecurities?

Imagine not being proficient with bash

Yeah that's a great feature.

>, if you want performance use python

Attached: DSLjmsK.jpg (600x800, 29K)

What's ctrl+r

>that's the retardedest thing i saw today
That's the most retarded thing I've seen today.

>tripfag
>zshtard
lmao

>killing the wrong process because pkill matched incorrect pid
>killing everything when you only want to kill one process

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.

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

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

>garbage
this

>Zsh users are mostly ignorant impressionable people,
Until here it looked legit, but then it became apparent troll.

I fucking couldn't make Zsh completion work. Yes, there is a lot of predefined stuff, but making new is fucking hard.

just use fish

>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

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.