Switch to a better nushell bash is old

Switch to new nushell or fish is really a good option this are writeen in rust so give our system a touch of memory safe component

From Project Discussion to Ask Fedora

Added workstation and removed workstation-wg

What functionality does this bring that isn’t in bash?
Is it posix compliant?

3 Likes

Its already packaged for Fedora: dnf install nu

Are you asking that the default shell for new users should be nushell?
Given its status that seems far to early to do:

This project has reached a minimum-viable-product level of quality. Many people use it as their daily driver, but it may be unstable for some commands. Nu’s design is subject to change as it matures.

2 Likes

It would be nice to have a bit more comprehensive overview of shells and what their exact advantages are over Bash. Both in terms of features but also in terms of footprint, compatibility etc.

1 Like

Wikipedia Comparison of Command Shells, but needs updating. I prefer zsh to bash, mostly because my wife and many colleagues use macOS. Forum posts often use bash idioms that don’t work withzsh, such as the need to escape * in grep strings.

1 Like

You still need to escape * even in bash. If bash finds a matching file name, it will substitute the wildcard with the file names that were found.

2 Likes

From Ask Fedora to The Water Cooler

Added tech-talk and removed workstation

As it is not really a question I moved it back to the water cooler. As we did with the other rust convincing/converting topics.

4 Likes

I know this is available i am talking about a switch from bash to other you know fedora is the pioneer when it comes to adapting to newer technologies so why not shell why we should stick to old bash.

Change for the sake of change is not necessarily a good thing. Bash is stable software and it just works™, tons of downstream tools and scripts are relying on it’s functionality and require syntactual compatibility. So a replacement has to be at least as good in those areas, and bring other improvements as well.

The increased memory safety that Rust provides as a language might not be enough in this respect, at least not for the foreseaable future. There would need to be other compelling reasons to promote a change as well.

5 Likes

There is the Cosmic epoch project now where everything is written in rust even terminals

1 Like

I’ve used Nushell extensively, and I must admit that some of its features are quite useful, such as the enhanced versions of the ‘cd’ and ‘ls’ commands. However, Nushell can feel overly complicated, especially when it comes to scripting. In my experience, it’s also somewhat unstable and prone to breaking with updates, which has happened to me multiple times.

If you’re looking for a shell written in Rust that’s more modern than Bash or Fish but maintains a clear and straightforward design, I recommend giving Ion a try. It’s the default shell for Redox OS, which is currently under development.

1 Like

There are also standalone tools that can be installed to enhance these commands, like for example eza as an ls replacement:

and zoxide as a cd replacement:

1 Like

@litemotiv, I completely agree. While Nushell does offer some advantages, these can easily be replaced with standalone tools without the need to switch to a new and unstable shell. A system shell needs to be rock-solid.

2 Likes

If we don’t we will be still using bash for next 40 years in that case there is no point to have or develop newer features rust written shell for better.
We can consider even apple switch to zsh but zsh is no longer a attractive option where the effectiveness in fish and nu have

What i think in next 5 years or so linux kenrel will have major stuff written in rust and many components will have a rust. Written option a os which will be 30-40% rust like coreutils already 85% there comparing with gnuutils but in rust fully.

@frankjunior, I agree—Rust is fantastic for many reasons, and it’s actually my favourite programming language. In a few years, I may even switch from Linux to Redox OS, which is being built from scratch in Rust. However, the shell is a fundamental system component that shouldn’t be changed without a very strong reason. I also don’t think Nushell is well-designed as a shell. More importantly, it’s buggy and developed at such a fast pace that there are breaking changes every few weeks. The only shell I see as a reasonable future system shell is Redox OS’s Ion Shell, but that’s likely a consideration for the distant future once the system is more fully developed.