1
1
mirror of https://github.com/ellie/atuin.git synced 2024-08-17 08:50:43 +03:00

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 ;;
*) __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