shell·Shell Scriptingbystarman NuShell 0.88https://www.nushell.sh/blog/2023-12-12-nushell_0_88_0.htmlOpen linkView original on programming.dev13Comments5Reply
Nundrum yall.theatl.social4Hide 4 repliesHey Nu fans: is there some way to get compact ls output? Like a table of just names. No type, date, size, etc.3Reply
starman replyprogramming.dev3Hide 3 replies ls | select name: will return table ls | get name: will return list Source2Reply
Nundrum replyyall.theatl.social2Hide 2 repliesSadly that's still not a compact output. The listing is still just as long as before scrolls right off the terminal2Reply
starman replyprogramming.dev1Hide 1 replyYou can try changing table style to more compact one. https://www.nushell.sh/book/coloring_and_theming.html#table-borders2Reply
Nundrum replyyall.theatl.socialYes, that changes the borders. But it doesn't turn a column into a table. Compare ls /proc in both bash and nu. It's a simple kind of thing that I can't find a solution for in nu.2Reply
5 replies
Hey Nu fans: is there some way to get compact ls output? Like a table of just names. No type, date, size, etc.
ls | select name: will return tablels | get name: will return listSource
Sadly that's still not a compact output. The listing is still just as long as before scrolls right off the terminal
You can try changing table style to more compact one. https://www.nushell.sh/book/coloring_and_theming.html#table-borders
Yes, that changes the borders. But it doesn't turn a column into a table. Compare
ls /procin both bash and nu. It's a simple kind of thing that I can't find a solution for in nu.