I know that there are ten different alternatives. Why don't we simply improve the basic stuff?

  • Ephera@lemmy.ml
    ·
    7 months ago

    a quick search suggests that Mint, Ubuntu, and NixOS all use bash by default

    With Debian-based distros, it's actually a bit weirder. They use dash as the global default shell (i.e. for executing sh scripts).
    dash has basically no code for interactive use, so it's supposedly faster and more secure. It is POSIX-compliant, so the treatment of whitespace should be identical, but it doesn't support any of the added features of bash.

    If you open up a terminal emulator, they've got that set up to use bash by default, so dash is supposed to be invisible to the user, but well, spoilers, it's not. If you switch to a TTY, for example, it launches there and makes the TTY look completely broken.