Home Explore Blog CI



nushell

9th chunk of `blog/2022-03-22-nushell_0_60.md`
641952b7d573237ec634e4257c07c9a35a8f09772ab68da30000000100000820
| formats     | `from nuon`, `to nuon`                                                                                                                                           |
| plugins     | `gstat`                                                                                                                                                          |
| strings     | `decode`, `nu-highlight`, `print`, `fmt`                                                                                                                         |
| system      | `complete`, `input`, `keybindings`, `keybindings default`, `keybindings list`, `keybindings listen`                                                              |
| viewers     | `grid`                                                                                                                                                           |

# Shell improvements

## Bang bang and more

You can now use `!!` to run the previous command, or `!` followed by the row number in the `history` you'd like to run again.

We're working to bring the [book up to date](https://www.nushell.sh/book/), and it's a good place to find explanations of these improvements. Be sure to also look at the [updated command documentation](https://www.nushell.sh/book/command_reference.html) for more information on the updated commands.

## Better multiline editing



With the switch to reedline, you can also get better feedback when working on multiline edits. For example, moving to the next line, you'll now see `:::` by default preceding the extended input:

```
> do {
::: echo "hello"
::: echo "world"
::: }
hello
world
```

You can configure the `:::` default value by setting the `PROMPT_MULTILINE_INDICATOR` environment variable. For example, the above screenshot uses ANSI to give it a bit of flare.

## Grid output

Nushell also now has a more compact `ls` representation you can use called `grid`.


Title: Nushell Shell Improvements: History, Multiline Editing, and Grid Output
Summary
Nushell 0.60 introduces shell improvements including the ability to use '!!' to re-run the previous command and '!row_number' to execute commands from history. Multiline editing is enhanced with a ':::' indicator (configurable via PROMPT_MULTILINE_INDICATOR). The update also features a compact 'grid' output format for commands like 'ls'.