fix(nushell): Ignore stderr messages (#1320)

This commit is contained in:
Patrick Jackson 2023-10-23 14:35:01 -06:00 committed by GitHub
parent 7a914221a7
commit b74ed756e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}