From a26a22001919112197a052462c5052b9201b2d3c Mon Sep 17 00:00:00 2001 From: Stuart Carnie Date: Tue, 17 Mar 2026 07:31:30 +1100 Subject: 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. --- crates/atuin/src/shell/atuin.nu | 6 +----- 1 file changed, 1 insertion(+), 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 -- cgit v1.3.1