diff --git a/atuin/src/shell/atuin.nu b/atuin/src/shell/atuin.nu index 1361bda..1231eea 100644 --- a/atuin/src/shell/atuin.nu +++ b/atuin/src/shell/atuin.nu @@ -20,7 +20,8 @@ let _atuin_pre_prompt = {|| return } with-env { ATUIN_LOG: error } { - atuin history end $'--exit=($last_exit)' -- $env.ATUIN_HISTORY_ID | null + do { atuin history end $'--exit=($last_exit)' -- $env.ATUIN_HISTORY_ID | null } | null + } hide-env ATUIN_HISTORY_ID }