diff --git a/lib/prompt.zsh b/lib/prompt.zsh index 718763d..07bec47 100755 --- a/lib/prompt.zsh +++ b/lib/prompt.zsh @@ -32,4 +32,6 @@ 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 -is-executable atuin && eval "$(atuin init zsh)" +if [[ $(is-executable atuin) && ! $(is-tty) ]]; then + is-executable atuin && eval "$(atuin init zsh)" +fi