diff options
| -rw-r--r-- | atuin/src/shell/atuin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin/src/shell/atuin.zsh b/atuin/src/shell/atuin.zsh index b0e160ff..eadd9203 100644 --- a/atuin/src/shell/atuin.zsh +++ b/atuin/src/shell/atuin.zsh @@ -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 } |
