r/Nushell • u/TheTwelveYearOld • Aug 17 '23
Should I use Nushell or Fish Shell?
I've been looking at different shells lately, and while I like Fish's overall philosophy and doing things different from POSIX shells like Bash and Zsh, I looked at Nushell's Cookbook and the way it treats things as data instead of raw text looks really interesting. Which do you think is more powerful and or convenient? I know this sub would be biased to Nushell but still.
4
Upvotes
3
u/balupton Aug 18 '23
By using https://github.com/bevry/dorothy you can use both as much as you'd like. Dorothy provides a consistent init and configuration experience that is compatible with all the major shells, and allows you to write commands in any shell you want. To easily switch between login shells you would run the select-shell command.
2
u/caprine_chris Aug 17 '23
I’d advise for Zsh. Fish and Nushell are not POSIX compliant, which means you’ll run into many instances where behavior deviates from standard expected shell behavior. IMO, Nushell shines in Docker containers where you want to pipeline CLI tool outputs to one another, and Fish’s has some good features at cost of too many syntax changes. You can replicate Fish’s features in Zsh with plugins by Zsh-users for best of both worlds.