A lot of great new/rethought Unix utilities have been written in Rust in recent years (fzf, rg, fd, dust etc) and so I have this naive gut feeling that a shell written in Rust might be rather good.
nushell is really nice - has structured data, combinators for manipulating tables, great type errors, good integrated documentation and even support for generating it, an recently got support for custom functions, which, similarly to PowerShell, can define named arguments and flags
Though it's still in alpha state, so there're some bugs here and there
@TheMatten What are your thoughts on the state of alternative shells? Time to experiment and switch now, or wait till the time comes when one of them matures enough to be a solid bash replacement?
nu does interesting things. like real-time syntax highlighting as you type the command (before hitting Enter). its open command also highlights the file based on syntax
https://lobste.rs/s/bhqflt/alternative_shells
nushell is really nice - has structured data, combinators for manipulating tables, great type errors, good integrated documentation and even support for generating it, an recently got support for custom functions, which, similarly to PowerShell, can define named arguments and flags
Though it's still in alpha state, so there're some bugs here and there
@TheMatten What are your thoughts on the state of alternative shells? Time to experiment and switch now, or wait till the time comes when one of them matures enough to be a solid
bash
replacement?Depends on shell - Fish is already 16 years old, so there isn't much that would be missing from it, while Nu shell is still in alpha/beta stage
nu does interesting things. like real-time syntax highlighting as you type the command (before hitting Enter). its
open
command also highlights the file based on syntaxwhere does
nu
stand on interactive CLI apps UX? any builtin functions to say script popups, dialog input, etc.?This topic was moved here from #Haskell > CLI apps to growing the Haskell Community by Sridhar Ratnakumar
It's getting there when it comes to scripting - but commands showing GUI sounds like something more fitting for a separate CLI utility
https://elv.sh/ seems to be another interesting one BTW
Elvish look awesome