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