From 3e63dd2f99d2608f6791abd7297db6791bba8ebc Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 22 Sep 2022 10:22:16 -0500 Subject: [PATCH] fix atuin conditional --- lib/prompt.zsh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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)"