this post was submitted on 13 Oct 2023
453 points (100.0% liked)

196

16719 readers
2341 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 20 points 1 year ago (1 children)

nushell is a thing, and basically has all the fun powershell features like a type system, but a more Unixy presentation. I've not used it, so don't know if it's actually any good, but it at least exists.

[–] [email protected] 3 points 1 year ago (2 children)

Can you write bash with nushell?

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

No, it is its own scripting language.

[–] [email protected] 3 points 1 year ago (1 children)

Is nushell comparable to fish?

[–] [email protected] 5 points 1 year ago

Yes and no. Yes in that it's a different shell that is intended to be used instead of something like Bash, and isn't compatible with Bash scripts. However, unlike Fish and Zsh, it's also not compatible with plain POSIX sh, so you have to run plain shell scripts by calling into something else that is sh-compatible.

[–] GamesRevolution 1 points 1 year ago

I don't think so, but it is more "bash like"