@starman to Shell ScriptingEnglish • 10 months agoNuShell 0.88www.nushell.shmessage-square5arrow-up113arrow-down10
arrow-up113arrow-down1external-linkNuShell 0.88www.nushell.sh@starman to Shell ScriptingEnglish • 10 months agomessage-square5
minus-squareNundrumlinkfedilinkEnglish3•10 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-square@starmanOPlinkEnglish2•edit-210 months ago ls | select name: will return table ls | get name: will return list Source
minus-squareNundrumlinkfedilinkEnglish2•10 months agoSadly that’s still not a compact output. The listing is still just as long as before scrolls right off the terminal
minus-square@starmanOPlinkEnglish2•edit-29 months agoYou can try changing table style to more compact one. https://www.nushell.sh/book/coloring_and_theming.html#table-borders
minus-squareNundrumlinkfedilinkEnglish2•9 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.