starman@programming.dev to Shell Scripting@programming.devEnglish · 11 months agoNuShell 0.88www.nushell.shexternal-linkmessage-square5fedilinkarrow-up113arrow-down10
arrow-up113arrow-down1external-linkNuShell 0.88www.nushell.shstarman@programming.dev to Shell Scripting@programming.devEnglish · 11 months agomessage-square5fedilink
minus-squareNundrum@yall.theatl.sociallinkfedilinkEnglisharrow-up3·11 months agoHey Nu fans: is there some way to get compact ls output? Like a table of just names. No type, date, size, etc.
minus-squarestarman@programming.devOPlinkfedilinkEnglisharrow-up2·edit-211 months ago ls | select name: will return table ls | get name: will return list Source
minus-squareNundrum@yall.theatl.sociallinkfedilinkEnglisharrow-up2·11 months agoSadly that’s still not a compact output. The listing is still just as long as before scrolls right off the terminal
minus-squarestarman@programming.devOPlinkfedilinkEnglisharrow-up2·edit-211 months agoYou can try changing table style to more compact one. https://www.nushell.sh/book/coloring_and_theming.html#table-borders
minus-squareNundrum@yall.theatl.sociallinkfedilinkEnglisharrow-up2·11 months agoYes, 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.
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 /proc
in both bash and nu. It’s a simple kind of thing that I can’t find a solution for in nu.