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

196

16423 readers
1 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] AnyOldName3@lemmy.world 21 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.

[–] jackalope@lemmy.ml 3 points 1 year ago (1 children)

Can you write bash with nushell?

[–] priapus@sh.itjust.works 5 points 1 year ago* (last edited 1 year ago) (1 children)

No, it is its own scripting language.

[–] jackalope@lemmy.ml 3 points 1 year ago (1 children)

Is nushell comparable to fish?

[–] AnyOldName3@lemmy.world 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.