Zsh

Is this the best shell in the world for daily use? I hear that's what hackers use...

Other urls found in this thread:

slideshare.net/jaguardesignstudio/why-zsh-is-cooler-than-your-shell-16194692
twitter.com/NSFWRedditImage

As a hacker, i use fish

I use konsole.

zsh can make it loonger!

>fish
not POSIX :\

My dick is more than yours.

More what?

>I use konsole.
you're retarded in more ways than one.

POSIX you dump fuck

More POSIX :/

i used to use ksh, but since rc released i used rc.

Yeah. My dick is more POSIX than yours.

one of my fav things about zsh is autocrrection and suggestions.

$ vm /home/sd/file1 //home/sd/file2
zsh: correct vm to mv [nyae]?

$ wget -

-- option --
--accept -A -- specify accepted extensions
--adjust-extension -E -- save all HTML/CSS documents with proper extensions
--append-output -a -- specify output logfile to append to
--ask-password -- [prompt for passwords]
--auth-no-challenge -- send basic HTTP authentication without first waiting for server's challenge
--background -b -- run in background
--backup-converted -K -- backup files before conversion
--backups -- max backups
....

tips & other tricks your shell cannot do:
slideshare.net/jaguardesignstudio/why-zsh-is-cooler-than-your-shell-16194692

don't bully

fish masterrace

Anything other than bash is trash,

Bash is actual shit.

huh?

bash is made for scripting. it's not great for user interaction. bash devs don't give a fuck about UX. to them, MUH COMPATIBILITY trumps everything.

tl;dr: don't use bash as your interactive shell. use it for scripts only.

Please. Could you elaborate on that comment?

Bash is a nigger shell, you're a cuck if you use it. The fact there is no pro white shell shows how cucked free software is.

True hackers use Scsh.

Oh, so it's a shit because you don't like niggers. Wow. That's a cool story bro.

Kill yourself race traitor

it's all the same command line shit though

>Race traitor

You're using nigger software race traitor. Your kind deserve the rope.

but it isn't.

slideshare.net/jaguardesignstudio/why-zsh-is-cooler-than-your-shell-16194692

.t increasingly nervous whitey.

>Degenerate can't even post memes properly
I can't wait till leftist cucks like you are killed.

>bash is made for scripting
it's shit at that also

I'm not leftist you degenerate retard. I'm just fucking with you you insufferable twat!

>webdevs need meme shells because it's hard to type "cd shit.js/arsehole" without making a typo
end yourselves

Sure you're not cuck, now get off my website and go jump into an oven.

I'm not a cuck. YOU are probably not a cuck either. What you are however, is an insufferable little prick with daddy issues.

>avatarfagging a real person
>a schizophrenic person no less

I know. He's a retard. I hope you can work with that. Perhaps you can get the CIA on his ass.

that has nothing to do with anything

Pretty much everything I do in z shell I could probably do in bash.

Honestly the only major thing I noticed that you can't do in bash that you can do in zsh is nested expansions.

No. He can't.

zsh and ohmyzsh + plugins is god mode
autocompletion is so good I can't go back to bash

prezto is also bretty gud. much faster too

This. Also the git plugin is very nice and having return codes on the prompt is useful.
Recommend me more plugins, user.

Just learb how to change your PS1 instead of switching shell, retard.

I like sudo, I make sure to enable that every time I install ohmyzsh.

If you ran a command that required elevated privileges and you got denied, you can just hit the Escape key twice and it redos the last command and then starts it off with "sudo".

>2017
>not using zsh
Find an excuse

#!/bin/bash

I have zsh on one of my machines it's okay.

>autocompletion
bash : just works
zsh: pain in the ass to set up, then constantly getting in you're way.
Fell for the meme and dropped that shit in 10 minutes I'll never get back.

>bash : just works
>zsh: pain in the ass to set up, then constantly getting in you're way.
Who hurt you this bad that you have to make up lies?

>then constantly getting in you're way.
retard detected.

I love this one

Sup mah niggaz?! Where dem cool zshit pluggs @?

zsh is the best shell. You get more functionality with a smaller rc file than bash. That's about all the reason you need. Avoid oh-my-zsh and other stupid shit like that, just set it up yourself, it's not hard.

> tcsh
> fish
> scsh
> xonsh

The problem with these shells is that they're incompatible with /bin/sh (despite what the xonsh documentation might imply). This actually turns out to be a bigger problem than you might think, because many programs shell out for various functionality, and they will break if they encounter something that's not a bourne shell.

>>The problem with these shells is that they're incompatible with /bin/sh (despite what the xonsh documentation might imply). This actually turns out to be a bigger problem than you might think, because many programs shell out for various functionality, and they will break if they encounter something that's not a bourne shell.
excellent point about programs that shell out.

here's my setopts for zsh.

ZSH is pretty nice, but I think other shells can be configured to do a lot of the same stuff.

As an intermidiate hacker, i like zsh.

>use zsh
>"not fast enough"
>mfw installed Oh-my-zsh

>bash is made for scripting
No, bash is humongous. For scripting, use ksh, ash, or dash.

Look below you.

So bash isn't good for anything?

It depends on your needs. GNU/Linux users think it's a great interactive shell. I use pdksh or ksh93 most of the time, and occasionally tcsh.

>Use a shell with less builtins for something that isn't interactive

I seriously hope you guys don't do this.

Builtins are how you turn some shitty script that takes 30 seconds to process 5MiB of text to a script that can do it almost instantly.

ok, so I'll admit bash is better than windows batch.

but bash is still dogshit. holy shit just trying to get things interpreted as numbers vs strings consistently is hell.

why are there no good operating system level scripting languages?

using something like python isn't a suitable replacement because it's much easier to do file operations in system language.

Bash allows you to define strict types to variables.

Usually you do this for math expression for loops so the conditionals aren't constantly transformed to numeric values from strings.

I use zsh on all my devices and I completely disagree with this massive faggot.
Bash is perfectly fine and usable for normal use.

Why not just use bash?

It's kind of like why people use shit like urxvt at this point. It jus werks and they already have it set up to work for them.

Plus zsh does have some positives over bash still.

better tab completion. better color schemes.
IIRC it saves directory history so you can do
cd -2 to go to dir you were in 2 dirs ago

To be fair, there is pushd and popd

>bash
Linux faggots love it.
Real professionals tend to use tcsh.

>Real professionals
As opposed to "Unreal professionals"?

/bin/bash

Literally who?

Only time I see c shell like crap being used is for legacy mainframe pieces of shit running God awful nonfree Unix abortions

Thankfully more places are killing these shitty infrastructures and replacing them with "midrange linux" clouds

/usr/bin/env bash

>implying ksh and dash don't have tons of internal tests and arithmetic capabilities
ksh is incredibly featureful while not being as huge as bash.
I agree that calling external programs is a waste of time, but there is a niche for it: portable shell scripts.

Given how fucking different GNU and BSD coreutils are and even differences in shells--their handling of lines and built-in features, I highly doubt portable shell scripts will be a thing ever.

At that point you probably should be using some proper standardized scripting language.

ksh is in that realm too. I only see it in hulking ORCL ERP systems running some commercial Unix.

pdksh is the default OpenBSD shell.

rc is the best shell since it actually has a syntax that wasn't created by an autistic ALGOL user, so it actually fits right in with the unix environment

Plan 9 doesn't install though.

mksh master race

blurry fish butt master race