• ziggurat@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 days ago

    I’m a serious bash scripter, I mean I do it both at work and as a hobby. And zsh arrays are better. Like you can use negative indecees and stuff. I have only written shell functions in zsh (my primary shell), and not thousands of lines of scripts like I have for bash. But if zsh had as good documentation and language servers I’d probably do many scripts in zsh instead. But I can’t say for certain, as I am not as sure about performance in some situations and stuff.

    Why don’t I use posix shell if I care about performance? Because they are only faster in very simple scripts,