starman@programming.dev to Shell Scripting@programming.devEnglish · 1 year agoNuShell 0.88www.nushell.shexternal-linkmessage-square5fedilinkarrow-up113arrow-down10
arrow-up113arrow-down1external-linkNuShell 0.88www.nushell.shstarman@programming.dev to Shell Scripting@programming.devEnglish · 1 year agomessage-square5fedilink
minus-squarestarman@programming.devOPlinkfedilinkEnglisharrow-up2·edit-21 year ago ls | select name: will return table ls | get name: will return list Source
minus-squareNundrumlinkfedilinkEnglisharrow-up2·1 year 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-21 year agoYou can try changing table style to more compact one. https://www.nushell.sh/book/coloring_and_theming.html#table-borders
minus-squareNundrumlinkfedilinkEnglisharrow-up2·1 year 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. 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.