this post was submitted on 04 Sep 2023
28 points (100.0% liked)

commandline

10 readers
1 users here now

founded 1 year ago
MODERATORS
 

If you haven't heard of it before, nutshell is an alternative to bash/zsh: https://github.com/nushell/nushell

top 6 comments
sorted by: hot top controversial new old
[–] d3Xt3r@lemmy.nz 5 points 1 year ago (1 children)

IMO, nushell isn't really an alternative to bash/zsh, unless it has backwards compatibility with bash/zsh commands and scripts. I would say it's more of an alternative to PowerShell, given how similarly it behaves to it. It's for people who like how PowerShell works, but want a shell that feels a bit more homely on a *nix system, and don't want to be involved in the Microsoft ecosystem (because PowerShell on Linux is really just a management interface for Microsoft's cloud offerings).

[–] nous@programming.dev 7 points 1 year ago

It is an alternative to bash/zsh. But it is not a drop in replacement for them. An alternative does not have to be compatible or else it would not be an alternative to powershell. It is not a viable alternative for those looking for POSIX compliance shell though.

[–] FUsername@feddit.de 2 points 1 year ago

Ok dang I've been reading nutshell for quite a moment...

[–] fhoekstra@programming.dev 1 points 1 year ago (1 children)

This looks incredibly powerful and cool.. but also like the kind of thing that may be a bit too niche or experimental for me to learn after just 2 years of the occasional casual Bash scripting and 4 weeks of having used zsh as my terminal.

I am trying to resist

[–] bnjmn@programming.dev 2 points 1 year ago

I feel you on this. I recently switched to fish, and have one or two .fish scripts that don't really "do" anything. Everything else remotely important is still in bash, and I'll probably keep it that way

Maybe somewhere down the line...

[–] Nundrum@yall.theatl.social 1 points 1 year ago

Nushell is nice, but the lack of vi-style keybindings killed it for me as a replacement for bash. If that ever changes, I'll try it again.