diff --git a/lib/prompt.zsh b/lib/prompt.zsh index 07bec47..eb63957 100755 --- a/lib/prompt.zsh +++ b/lib/prompt.zsh @@ -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)"