Why use zsh or fish over bash?

why use zsh or fish over bash?

Why indeed. I don't.

Snowflake points

because of features and ricing.
bash has arguably less features out of the box compared to fish or zsh.

There is honestly no point to using a shell other than the one that came with your OS unless it's REALLY fucking bad.

A POSIX compatible shell is usually enough.

Zsh has better autocomplete

>semiunixism

>bash
>for true unix
>ever

tcsh :^)

High intensity autism

I like scripts I write to be portable. Almost everything I touch has bash. Shit, even Windows has bash now. So using zsh just makes things more difficult for yourself. It's like people who learn dvorak, which sounds great until you need to use a PC that you can't change they keyboard layout on.

>He thinks he has to use the same shell he writes scripts in

Depends on the script.

edge

They have better interactive features. It's like asking why use vim/emacs/nano/sublime/atom over ed.

Way better tab completion. But if I'm writing a script, it uses bash for portability

No it doesn't.

Bashisms are too tempting when I use bash.

I don't need that much autocompletion (which slows it down, and it's pretty much just bloat), and bash is pretty much everywhere, so I use bash on my computer so I can be efficient with it.

Zsh is good for people with severe autism.

>not writing scripts in sh
> time bash -c 'for i in {{1..1000}}; do dash -c exit; done'
0.03user 0.09system 0:00.62elapsed 21%CPU (0avgtext+0avgdata 3428maxresident)k
0inputs+0outputs (0major+103046minor)pagefaults 0swaps

> time bash -c 'for i in {{1..1000}}; do bash -c exit; done'
1.51user 0.33system 0:03.68elapsed 50%CPU (0avgtext+0avgdata 3348maxresident)k
0inputs+0outputs (0major+211411minor)pagefaults 0swaps

>so I can be efficient
>I don't need autocompletion
Enjoy not being able to type at 400 WPM.

zsh
>amazing autocomplete
>anti pastejacking features
>vim mode

Disappointed, saw the logo and thought this was about a Crunchbang revival.

Yes, it does. There are non-portable parts of all shells.

If I used Zsh, I would end up wasting my time, because I expect tab to autocomplete pretty much everything, and I could forget something, because I relied on autocompletion.

Bash has emacs keybindings too, so it's possible to write your commands in it pretty fast.

Is there honestly any advantage to using that other than backwards compatibility with shell scripts from 30 years ago?

no that's about it

Writing a bash script does not require you to use bash as your shell, just like running a Python program does not require you to use Python as your shell.

We're not talking about your misunderstanding.