disable atuin in tty

This commit is contained in:
Daylin Morgan 2022-09-19 15:08:08 -05:00
parent 6dcbb66b6e
commit af32fd0799

View file

@ -32,4 +32,6 @@ zstyle ':completion::complete:make:*:targets' call-command true
is-executable fzf && source $DOTFILES_DIR/lib/fzf.zsh is-executable fzf && source $DOTFILES_DIR/lib/fzf.zsh
# atuin must be loaded after to override zsh's ctrl+R completion # 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)" is-executable atuin && eval "$(atuin init zsh)"
fi