Skip to content

Commit

Permalink
fix for zsh no-unset environments (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-cbo committed Jul 10, 2023
1 parent 6c6f5f8 commit 998bd5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atuin/src/shell/atuin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

1 comment on commit 998bd5b

@vercel
Copy link

@vercel vercel bot commented on 998bd5b Jul 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

atuin – ./

atuin-git-main-ellieh.vercel.app
atuin-ellieh.vercel.app
atuin.sh

Please sign in to comment.