Home Explore Blog CI



nushell

4th chunk of `blog/2020-03-31-nushell_0_12_0.md`
5d97062fe137247eb09c3caa4dd3780d4262add04bb97ac70000000100000f32
 #  │ OrderDate  │ Region  │   Rep    │  Item   │  Units  │ Unit Cost │   Total
────┼────────────┼─────────┼──────────┼─────────┼─────────┼───────────┼───────────
  0 │ 2018-01-06 │ East    │ Jones    │ Pencil  │ 95.0000 │    1.9900 │  189.0500
  1 │ 2018-01-23 │ Central │ Kivell   │ Binder  │ 50.0000 │   19.9900 │  999.4999
```

Sometimes when working with data, you've managed to read in columns of data and notice that the first row is the headers you want. Previously, this required a lot of twiddling to lift the row into being the header. With 0.12.0, this has become much simpler with the `header` command.

## `ps --full` mode (sophiajt)

We're extending the information you can get back from `ps`. You are now able to get the original commandline and more for each process using the new `ps --full`.

## `rm` can now take multiple arguments to remove multiple files at once (pulpdrew)

Sometimes we're missing a feature and you wonder how we made it that long :D. In this release, you can now pass multiple files to `rm` for deletion.

## Row rotation (sophiajt)

```
❯ sys
─────────┬─────────────────────────────────────────
 host    │ [row 7 columns]
 cpu     │ [row cores current ghz max ghz min ghz]
 disks   │ [table 9 rows]
 mem     │ [row free swap free swap total total]
 temp    │ [table 8 rows]
 net     │ [table 4 rows]
 battery │ [table 1 rows]
─────────┴─────────────────────────────────────────
```

When working with data with lots of columns, it can sometimes be a pain to watch it print to the screen only to see that the data is missing columns because they won't fit. In this version, we're experimenting with a way to help this by auto-rotating a row when it is printed by itself. This will allow more of the row to fit into the screen.

## Configurable table headers (Amanita-muscaria)

You may have noticed that the headers in the above examples were centered. How's that for sneaking a feature in?

With 0.12.0, you can configure your table look a bit more by changing how the headers are displayed. Here are the new `config` settings:

- header_color: Available colors are from term::color module
- header_align: Sets header alignment center/left/right
- header_style: Sets style bold, underlined, italic. More than one can be used

## Lots of bugfixes/improvements (Sosthene-Guedon, quebin31, neuronull, andrasio, thegedge, vsoch, sophiajt, jonstodle)

Open no longer fails silently, improved CSV opening, improve canonicalize of filenames, `sys` now properly says user sessions, moved `shuffle` to being an internal command, relaxed file modes, cleaned up `which` implementation, fix Docker build matrix, streams can now be interrupted, improvements to `du`, `get` now will remove blank values for easier processing, respect CARGO_TARGET_DIR when set, allow `..` and `/` to be mv targets,

## Documentation improvements (pulpdrew, nickgerace, waldyrious, kloun)

Docs for `from-ics` and `from-vcf`, quickstart section for Docker users, docs for `skip` and `skip-while`, typos and whitespace fixes, typo in `calc` docs

# Looking ahead

"Just keep going!" as Yehuda Katz would say, and we intend to. Lots of internal improvements are coming, and of course aliases which has become a daily request.

We'd also like to hear from you. Let us know what would make Nu work better for your workflows, drop us a line in [discord](https://discord.gg/NtAbbGn) or [github](https://github.com/nushell/nushell). We'd love to hear from you!

Title: Nushell 0.12.0: Further Enhancements - Row Rotation, Configurable Table Headers, Bug Fixes, and Documentation Updates
Summary
Nushell 0.12.0 introduces row rotation for better display of data with many columns, configurable table headers with customizable color, alignment, and style. It also includes numerous bug fixes and improvements across various commands and functionalities, as well as updates to documentation. The Nushell team is planning further internal improvements and is actively seeking user feedback for future development.