From e9f9f9f994e489d708f3daa1923c5cab3e8cedd7 Mon Sep 17 00:00:00 2001 From: Steven Xu Date: Wed, 29 Mar 2023 07:34:40 +1100 Subject: [PATCH] fix: record negative exit codes (#821) --- src/shell/atuin.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/atuin.nu b/src/shell/atuin.nu index 5dbb408..f9e70ef 100644 --- a/src/shell/atuin.nu +++ b/src/shell/atuin.nu @@ -20,7 +20,7 @@ let _atuin_pre_prompt = {|| return } with-env { RUST_LOG: error } { - atuin history end --exit $last_exit -- $env.ATUIN_HISTORY_ID | null + atuin history end $'--exit=($last_exit)' -- $env.ATUIN_HISTORY_ID | null } }