Home Explore Blog CI



nushell

3rd chunk of `blog/2020-09-01-nushell_0_19.md`
291e5bcc7bb08b14aff5b4c34e9235d6039ef25aa14f00fd0000000100000935


You can also configure how the various Nu data types are displayed. You can learn about the [new custom data colors](https://github.com/nushell/nushell/pull/2449) if you're interested in configuring them for yourself. There's also and example `config.toml` [here](https://github.com/nushell/nushell/blob/main/docs/sample_config/config.toml) with an example of how to set the colors you like.

## Table literals (sophiajt)

Starting with 0.19, you can now write table values like you would other kinds of values. To do so, separate a row of header names from the data using a `;`. For example:

```
> echo [[name size]; [ST 185] [KJ 160]]
───┬──────┬──────
 # │ name │ size
───┼──────┼──────
 0 │ ST   │  185
 1 │ KJ   │  160
───┴──────┴──────
```

To be a valid table, the number of columns needs to line up.

## Multiline edits (sophiajt)

In addition to the new table literals, we're opening up multiline commands. Initially, this will be for the line editor, but we'll extend this further as we improve parser support.

You can now also write the above:

```
> echo [
[name, size];
[ST, 185]
[KJ, 160]
]
───┬──────┬──────
 # │ name │ size
───┼──────┼──────
 0 │ ST   │  185
 1 │ KJ   │  160
───┴──────┴──────
```

You might have noticed we now also allow commas to separate cells. These are intended to help readability and give a more familiar syntax for people coming from other languages.

## Nushell celebrates its first year in the public

We recently sat down and wrote about [where Nushell has come over the last year](http://www.nushell.sh/blog/2020/08/23/year_of_nushell.html) and some thoughts about where it's going. The blog post is a wealth of information about Nu's philosophy and direction. Well worth a read.

## Command improvements

- `size` now gives back [simpler columns](https://github.com/nushell/nushell/pull/2473) (gillespiecd)
- `uniq` has [more examples](https://github.com/nushell/nushell/pull/2472) (gillespiecd)
- `ls` will tolerate more [OS errors while listing](https://github.com/nushell/nushell/pull/2466) (gorogoroumaru)

Title: Nushell Updates: Theming, Table Literals, Multiline Edits, and First Year Anniversary
Summary
Nushell is improving theming options, custom data colors, and table literals for value creation. Multiline commands are also now supported. Nushell also celebrated its first year anniversary in the public, with a blog post detailing the project's philosophy and direction. Command improvements include simpler columns for `size`, more examples for `uniq`, and improved OS error tolerance for `ls`.