summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Jackson <patrick@jackson.dev>2023-10-23 14:35:01 -0600
committerGitHub <noreply@github.com>2023-10-23 21:35:01 +0100
commitb74ed756e2542d330be81ee841407fe263453d42 (patch)
treefcb3f1cd14df1b54057a6c84b9dd527f783b09be
parent7a914221a7c9fb4b5322aa3c391cb9ad1709c866 (diff)
fix(nushell): Ignore stderr messages (#1320)
-rw-r--r--atuin/src/shell/atuin.nu3
1 files changed, 2 insertions, 1 deletions
diff --git a/atuin/src/shell/atuin.nu b/atuin/src/shell/atuin.nu
index 1361bda6..1231eea0 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
}