mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-08 17:35:12 +01:00
fix for zsh no-unset environments (#921)
This commit is contained in:
parent
6c6f5f8187
commit
998bd5be89
@ -21,7 +21,7 @@ _atuin_preexec() {
|
||||
_atuin_precmd() {
|
||||
local EXIT="$?"
|
||||
|
||||
[[ -z "${ATUIN_HISTORY_ID}" ]] && return
|
||||
[[ -z "${ATUIN_HISTORY_ID:-}" ]] && return
|
||||
|
||||
(RUST_LOG=error atuin history end --exit $EXIT -- $ATUIN_HISTORY_ID &) >/dev/null 2>&1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user