mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-22 08:13:57 +01:00
fix: record negative exit codes (#821)
This commit is contained in:
parent
caf2ddfb9f
commit
e9f9f9f994
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user