• 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.
  • huf [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    yeah, consistency is way more important than whatever pet features people want.

    also, bash slow? what? it’s an interactive shell, the vast majority of time will be spent waiting for my input. unless you mean when you write scripts in bash? but surely nobody would do that when there’s perl…

    • MartinJezhykOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      If you use Arch, NixOS, or macOS, then you use Bash for running scripts. So speed is important.

      If you talk about “consistency”, then you should also say that bash extends POSIX.

      Yes, due to the perceived “standardness” of Bash, people write scripts in Bash with its extensions.