summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index b540a38b..31759681 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