Skip to content

Commit

Permalink
Add warning about display_errors
Browse files Browse the repository at this point in the history
  • Loading branch information
132ikl committed Sep 24, 2024
1 parent ba44c5a commit babbbee
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions blog/2024-09-17-nushell_0_98_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ Nushell, or Nu for short, is a new shell that takes a modern, structured approac

Today, we're releasing version 0.98.0 of Nu. This release changes non-zero exit codes from external commands to be handled as errors, makes the IR evaluator the default, removes support for the system clipboard, and includes many command changes and bugfixes.

::: warning New error behavior
This release adds a new error when an [external exits with a non-zero exit code](#non-zero-exit-codes-are-now-errors-toc). In the default config, this error is suppressed in the REPL. However, **if you are upgrading with existing config, you must add this section to your $env.config to suppress this error**:

```
display_errors: {
exit_code: false
# Core dump errors are always printed, and SIGPIPE never triggers an error.
# The setting below controls message printing for termination by all other signals.
termination_signal: true
}
```

:::

# Where to get it

Nu 0.98.0 is available as [pre-built binaries](https://github.com/nushell/nushell/releases/tag/0.98.0) or from [crates.io](https://crates.io/crates/nu). If you have Rust installed you can install it using `cargo install nu`.
Expand Down

0 comments on commit babbbee

Please sign in to comment.