diff options
author | Patrick Jackson <patrick@jackson.dev> | 2023-10-23 14:35:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 21:35:01 +0100 |
commit | b74ed756e2542d330be81ee841407fe263453d42 (patch) | |
tree | fcb3f1cd14df1b54057a6c84b9dd527f783b09be | |
parent | 7a914221a7c9fb4b5322aa3c391cb9ad1709c866 (diff) |
fix(nushell): Ignore stderr messages (#1320)
-rw-r--r-- | atuin/src/shell/atuin.nu | 3 |
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 } |