You might generally prefer not setting zsh as the system-wide default shell, but rather just to be launched by default in Konsole or whatever terminal emulator you’re using.
The actual default shell will still show up in TTYs, or when you use the newgrp
command, or I believe when you ssh into the machine, and probably other such edge cases, but usually, you can then just run zsh
to get into zsh.
Not setting it as the system-wide default shell just avoids any potential for problems, particularly also if some script doesn’t have a proper shebang.
Having said that, on Debian-based distros, I usually still set the system-wide default shell to Bash (even though I use Fish), because the default dash
shell is pretty much unusable.
Not unusable enough to prevent typing “zsh”+Enter (if you don’t typo), so this is definitely optional, but yeah, it comes up often enough that dash
annoys me, and I haven’t yet had compatibility problems from setting it to Bash instead.
What the hell, how have I never opened that? 😅
I’ve been using webpages for this, but this is so much quicker.