diff options
| author | Stuart Carnie <stuart.carnie@gmail.com> | 2026-03-17 07:31:30 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-16 13:31:30 -0700 |
| commit | a26a22001919112197a052462c5052b9201b2d3c (patch) | |
| tree | 797b6858373a7b13a44ee9cb22cdc03c25a05f1b /crates | |
| parent | chore(ci): migrate to depot runners (#3279) (diff) | |
| download | atuin-a26a22001919112197a052462c5052b9201b2d3c.zip | |
fix: Nushell 0.111; future Nushell 0.112 support (#3266)
Fix issue introduced by #3249. Nushell 0.112 will introduce the breaking
change; not 0.111.
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/atuin/src/shell/atuin.nu | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/atuin/src/shell/atuin.nu b/crates/atuin/src/shell/atuin.nu index 3bc59edc..d6cf915b 100644 --- a/crates/atuin/src/shell/atuin.nu +++ b/crates/atuin/src/shell/atuin.nu @@ -36,11 +36,7 @@ let _atuin_pre_prompt = {|| return } with-env { ATUIN_LOG: error } { - if (version).minor >= 111 or (version).major > 0 { - job spawn -d atuin { - ^atuin history end $'--exit=($env.LAST_EXIT_CODE)' -- $env.ATUIN_HISTORY_ID | complete - } | ignore - } else if (version).minor >= 104 or (version).major > 0 { + if (version).minor >= 104 or (version).major > 0 { job spawn { ^atuin history end $'--exit=($env.LAST_EXIT_CODE)' -- $env.ATUIN_HISTORY_ID | complete } | ignore |
