Home Explore Blog CI



nushell

10th chunk of `blog/2022-03-22-nushell_0_60.md`
47fdb92dc619b93bcaafea4ade25968f659d8155ee60c94700000001000002ac


## Better `less` support

With Nushell, you can now pipe to your preferred pager, and get a page-able output. For example, if you wanted to look at a long table, you can pipe into the `less` command (or the equivalent for your OS):

```
> ls **/* | less
```

Nushell by default will strip the ANSI colors, letting you look at the data with most pagers.

## Miette

We're moving to a new error reporter called [miette](https://github.com/zkat/miette). It's an attractive way of showing errors back while you're working in the REPL or on scripts.


Title: Enhanced `less` Support and Miette Error Reporting in Nushell
Summary
Nushell now supports piping output to preferred pagers like `less` for easier viewing of long tables, stripping ANSI colors by default. It also introduces `miette`, a new and visually appealing error reporter, which provides detailed and helpful error messages in the REPL or when running scripts.