From b74ed756e2542d330be81ee841407fe263453d42 Mon Sep 17 00:00:00 2001 From: Patrick Jackson Date: Mon, 23 Oct 2023 14:35:01 -0600 Subject: [PATCH] fix(nushell): Ignore stderr messages (#1320) --- atuin/src/shell/atuin.nu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }