• Use Oil Shell if you want a faster and more modern version of Bash that’s compatible with it and offers more modern oil language.
  • Use Zsh if you want better extendability and more plugins.
  • Use Fish if you want perfect out of the box configuration and a more modern (and less verbose for most cases) scripting language.
  • Use Dash/Ash if you want better speed and full POSIX compliance (no extension, no unimplemented features).
  • Use Yash if you want better autocomplete but still faster than Bash.
  • Use Xonsh if you want an awesome Python-based scripting experience and very nice autocomplete.
  • Use Elvish if you want a more modern scripting language.
  • Or use anything. Any shell will be better than Bash. Bash is slow, not POSIX compliant, and doesn’t offer Zsh/Fish level autocomplete.
  • flashgnash@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Bash is good and is standard. Have been experimenting with zsh but don’t really see the appeal

    If I need to write a script that is too complicated to do in bash I’ll do it in python

  • SpongeBorgCubePants@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Still using bash occasionally while mainlining zsh, it’s just one of the most ubiquitous shells out there.

    I’d rephrase your post title to “Use whatever shell you like, but try not to write Bash scripts”

    At least scripts you want others to use… and you are going to be very grateful in the future when you might switch shells

  • sederx@programming.dev
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago

    As an admin this is madness. I’m good with bash,you know the shell I’ll find on any running system.