4
steev
2y

fuck zsh. what was wrong with bash, Apple?

Comments
  • 9
    Most the devs I work with use zsh.

    They bitch and bemoan when I give them a bash script to run. I tell them to use a real shell and get over it.

    The other devs use PowerShell.

    🤣 I work with a bunch of basic bitches.
  • 4
    @sariel If they're bitching about bash, I wonder how would they react to ksh93 or sh (e.g. dash) :) Both of which are good shells
  • 3
    zsh is awesome.

    But who and why would you bitch about bash scripts? They run just as good as in bash..^^

    What is a specific zsh script you need in a shell script you're going to share?
  • 7
    @nitwhiz the most vocal have installed it on Ubuntu.

    The likely cause of their problems is they installed it improperly or have their profile misconfigured.

    Either way, I love to troll them every chance I get because it's fucking easy to fix the issue.

    These are the same people who are upset about envsubst being a requirement to run these scripts too. I tell them, "just install the damn thing, you're going to use it once you see how easy it makes things!" They usually argue that a script should be self-contained and not require external dependencies.

    I swear one day I'll slip in an install function on them and they won't know the difference.

    Half these assholes don't even know what the fuck a makefile is.
  • 2
    *its blazingly fast*
  • 5
    @sariel

    > a script should be self-contained and not require external dependencies

    That's incorrect by the definition of "script"
  • 6
    @netikras "basic bitches"
  • 3
    @netikras @sariel self-containment be like #!/usr/bin/env totallynodependency lol
  • 3
    ZSH isn’t cool without oh-my-zsh.
  • 1
    I use zsh now with a nice theme but can go back to back any time. The tab completions on Linux/bash where better.
    Someone recommended fish but that is not bash compatible so a no go
  • 0
    @devphobe I just set it up with powerlevel10k no clue if that is o-my-zsh
  • 2
    I like zsh, but like... Hating bash/bash scripts? What?
  • 2
    @hjk101 wait what? The auto completion was one reason I switched to zsh, it's not existing in bash imo.
  • 1
    Zsh is alright.
    I like the autocomplete, sort of. It’s a time saver, but it trips me regularly, too.

    Some of the parsing changes also annoy me, but meh, adding quotes fixes those.

    I don’t feel strongly either way.
  • 2
    @nitwhiz bash has really good tab completion functionality out of the box, not auto suggest. The tab completions rely on good scipting though as scripts need to add the actual completion suggestions.
    I use some advanced GNU make shit and that works out of the box on Arch+bash.
    On OSX with zsh and completion plug-in it does not work well. I can either not complete my targets or enable dangerous processing and it will compete to every single variable too.
  • 5
    But, why would someone complain about a bash script? You should have bash installed, and the script should have a shebang at the top, so zsh or not, it’ll run through bash. And they’re (mostly) compatible, so? Reading and editing shouldn’t be an issue?

    Sounds like your coworkers just want to complain.
  • 1
    Bash is pretty common.

    Apple has an... Ancient? Bash... I think 3 or 4 and by default uses ZSH (licensing)

    But imho - if you want to write "universal" shell scripts, bash is the right choice.
  • 0
    wow it's funny how such a trivial post got so much activity. Might be my most commented-on "rant" yet. I should post more such #quibbles. like maybe that block cursors are better than underscore cursors. let's argue about that! LOL.
  • 1
    @steev Pipe cursors for insertion, block for overwrite, underscore for read only. (:
  • 0
    @steev @Root pipe. Always. Block is unnecessary and underscore is just wrong.

    End of discussion! /jk
Add Comment