NuShell: A New Type of Shell
github.com
github.com
https://news.ycombinator.com/item?id=35124056 (203 comments)
https://news.ycombinator.com/item?id=33419944 (247 comments)
I find it occupies a weird niche where I can do a bunch of data wrangling with it, and some basic exploration, but hit a ceiling where what I've done is less persistent than an ETL and less exploratory than a notebook.
I think a simple personal ETL system based on nu would be awesome, and likewise I want to add cell magic to Jupyter for it so that you can quickly get data into Pandas or data viz of some kind.
Nu's principles and influence from modern languages makes it easier for me. But be careful about it not having a 1.0 release. Often times things can break, but their docs always point out breaking changes.
My only issue is that I haven't done any custom function/aliases/whatever for my more frequent locations because the docs on it seem intimidating and I'm not sure i'm looking in the right spot.
Being able to just open a document, say a json, and have it throw it in a table is soooo nice. I can then tweak it if need be, and save it back, or convert it to csv or whatever other format I need.
Don't reinvent this but get autojump or one of its many clones (it'll learn what your frequent locations are). Eventually combine with fzf to fuzzy search those, though I think something like zoxide does it all in one (but even then, you'll want fzf, it is just too handy to not use). I'm on PS so use ZLocation piped/sorted into fzf, that's just a oneliner and it should be straightforward to get something similar on NuShell. Once you've used that any environment which doesn't let you go to your most used locations (or history, or commands, or ...) in a matter of seconds and a couple of keystrokes feels seriously crippled. Because it is.
Between Nu and the new-ish winget package manager it almost feels like a proper linux distribution these days.
If nothing else, never having to use `jq` again is a huge QoL improvement.
While using it I feel like working with a db like model. Also using bash commands works great and you learn to improve your parsing skills for free!