3 ms·
> No one is going to make your new wiz-bang shell the system default on a popular distro without it being completely compatible with existing shell scripts, doc
by 3np 4y ago
> No one is going to make your new wiz-bang shell the system default on a popular distro without it being completely compatible with existing shell scripts, documentation, examples, etc. It's just a non-starter...
False. zsh is not POSIX nor fully compatible with bash, while being default login shell in popular distros like Kali and Deepin (and macOS).
Not sure if Garuda Linux passes the "popular" threshold for you but their default is fish.
Shell scripts typically lead with a shebang, making your login shell inconsequential as long as you have the target shell available.
- Alupis 4y ago> False. zsh is not POSIX nor fully compatible with bash, while being default login shell in popular distros like Kali and Deepin (and macOS). Kali is a purpose-built distro that is not a daily driver for nearly anyone. Deepin is a Chinese distro, and while it may be popular to some, it is not a popular distro at large. My point remains standing. > Shell scripts typically lead with a shebang, making your login shell inconsequential as long as you have the target shell available. Of course - but having multiple shells installed is not common. What's the point of using another shell if all of your scripts have to use bash anyway? You are still effectively using Bash, and have unintentionally exposed the problem with all non-POSIX compliant shells - they don't allow people to get work done.
- 3np 4y ago> Deepin is a Chinese distro, Excuse me, how is that in any way relevant here? Fuck off with that. > but having multiple shells installed is not common False again. Run 'chsh' and tell me how many options you see.
- Alupis 4y ago> Excuse me, how is that in any way relevant here? Fuck off with that. What on earth are you talking about? Deepin Technology is a wholly owned subsidiary of UnionTech, a Chinese company based in Wuhan China. It is a Linux Distro developed in China for a domestic audience, ie. used predominantly in China by Chinese citizens. It is a Chinese Linux Distro... It may be popular in China, but it is not globally popular. Very few people would willingly choose to run an operating system developed in China for domestic consumption, for very obvious reasons. Pretend to be offended by something else... > Run 'chsh' and tell me how many options you see. Ya... only bash available on my system... a default installation of Rocky Linux. Usually people try to ensure they're correct before saying someone is wrong.
- nineteen999 4y ago> Ya... only bash available on my system... a default installation of Rocky Linux. RockyLinux as you know is a RHEL clone. RHEL is a very conservative distro, their original market was refugees from Solaris and other commercial UNIX distros. And I say that as a diehard fan of Redhat/Fedora minimal installation as both a server and development platform. Other less commercial distros (Debian and deriviatives, Arch, Gentoo etc) tend to offer more shell options out of the box, as do most of the BSD's. And other options are not hard to install from the Redhat/Fedora repos as you would know.