NuShell: A New Type of Shell
github.com
NuShell: A New Type of Shell
1–10 of 16 posts
Re: NuShell: A New Type of Shell
#2Re: NuShell: A New Type of Shell
#3https://news.ycombinator.com/item?id=35124056 (203 comments)
https://news.ycombinator.com/item?id=33419944 (247 comments)
Re: NuShell: A New Type of Shell
#4My 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.
Re: NuShell: A New Type of Shell
#5I 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.
Re: NuShell: A New Type of Shell
#6If nothing else, never having to use `jq` again is a huge QoL improvement.
Re: NuShell: A New Type of Shell
#7It's become my daily driver for the light amounts of shell use I have (just derping around a filesystem and some data manipulation, not a sysadmin). 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 tab…
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.
Re: NuShell: A New Type of Shell
#8Nu'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.
Re: NuShell: A New Type of Shell
#9Between Nu and the new-ish winget package manager it almost feels like a proper linux distribution these days.
Re: NuShell: A New Type of Shell
#10While 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!