fix for zsh no-unset environments (#921)
This commit is contained in:
parent
6c6f5f8187
commit
998bd5be89
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue