Update install

This commit is contained in:
Ellie Huxtable 2021-04-26 15:46:47 +01:00
parent dea97decdc
commit 5a2b721ceb

View file

@ -156,3 +156,10 @@ case "$OSTYPE" in
bsd*) __atuin_install_unsupported ;; bsd*) __atuin_install_unsupported ;;
*) __atuin_install_unsupported ;; *) __atuin_install_unsupported ;;
esac 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