From 5a2b721ceb3ec2ad7df4f9e7c3776b2979683d19 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Mon, 26 Apr 2021 15:46:47 +0100 Subject: [PATCH] Update install --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install.sh b/install.sh index b540a38..3175968 100755 --- a/install.sh +++ b/install.sh @@ -156,3 +156,10 @@ case "$OSTYPE" in bsd*) __atuin_install_unsupported ;; *) __atuin_install_unsupported ;; esac + +# TODO: Check which is in use +echo 'eval "$(atuin init zsh)"' >> ~/.zshrc + +curl https://raw.githubusercontent.com/rcaloras/bash-preexec/master/bash-preexec.sh -o ~/.bash-preexec.sh +echo '[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh' >> ~/.bashrc +echo 'eval "$(atuin init bash)"' >> ~/.bashrc