Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yet another article proclaiming bash as garbage and zsh as the best thing since sliced bread.


He did put it in a 'mild enough' way though.

What shell are you using? Probably bash, right? Well, stop it. Or don’t. Just know why you’re using the shell that you have.

I'm a bash user myself. I've tried zshell but didn't stick with it.


I used bash for years, I was just forced into zsh at work and loved it.

Bash is fine, but I didn't know any of its intricacies. I'm not saying don't use bash. I'm saying don't use bash without learning about how to make it work for you (and probably trying other things).


Bash is ugly and horrible but I know it well and have bad Stockholm syndrome so it's too late.


Meh. I use bash on my laptop and zsh on my VM, and barely notice a difference between the two other than my different prompt. That tells me I'm not getting the most out of it, but it also tells me that the out-of-the-box improvements are pretty minimal. Given how many machines I need to attempt to keep my customizations in sync across (git is barely an option, let alone something like dropbox - this is inside a PCI Level 1 environment), stuff that requires a ton of plugins to really be useful is typically more trouble than its worth. Simply managing my SSH keys is bad enough.


I'm in exactly the same boat as you (except we're at PCI level 2).

tmux on my local machine does me fine. And as loading tmux inside of tmux is pointless, I don't need to copy configs across.

though what I do have is a number of cheat sheets for each type of server, so I have copy and paste code (most of it is simple enough stuff, but sometimes having a visual reminder is helpful when you're up against tight, stressful, deadlines)


My thoughts exactly. Everything mentioned there is just as doable in bash.


He referred readers to the Wikipedia comparison page, so I went there and duly compared bash to zsh in all the comparison tables.

A couple of minor differences, otherwise exactly the same...


The biggest features I use from zsh is awesome tab completion. For example, partial tab completion:

    $ ls
    ./
    ../
    project-foo/
    project-bar/
    $ cd foo <tab> ----> cd project-foo
Expand paths:

    $ cd /ho/wti/Drop <tab> ----> cd /home/wting/Dropbox
Fuzzy matching:

    $ cd /tpm/blh <tab> ----> cd /tmp/blah
Also expanding remote paths.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: