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-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. http://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.
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. http://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.