diff options
author | Steven Xu <stevenxxiu@users.noreply.github.com> | 2023-03-29 07:34:40 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-28 21:34:40 +0100 |
commit | e9f9f9f994e489d708f3daa1923c5cab3e8cedd7 (patch) | |
tree | dfcda4b449ed97d6d35171994224792f4b887cfe | |
parent | caf2ddfb9ff7a5f78cd10da0dc030fdeee7c0fe0 (diff) |
fix: record negative exit codes (#821)
-rw-r--r-- | src/shell/atuin.nu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell/atuin.nu b/src/shell/atuin.nu index 5dbb4082..f9e70efc 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 } } |