fix atuin conditional

This commit is contained in:
Daylin Morgan 2022-09-22 10:22:16 -05:00
parent da523ace05
commit 3e63dd2f99

View file

@ -31,7 +31,4 @@ zstyle ':completion::complete:make:*:targets' call-command true
is-executable fzf && source $DOTFILES_DIR/lib/fzf.zsh
# atuin must be loaded after to override zsh's ctrl+R completion
if [[ $(is-executable atuin) && ! $(is-tty) ]]; then
is-executable atuin && eval "$(atuin init zsh)"
fi
is-executable atuin && is-tty || eval "$(atuin init zsh)"