From bb280a2224d976a925f085970fcb55f700444801 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Thu, 13 Aug 2026 20:12:38 -0700 Subject: [PATCH] fix(install): atuin init for bash (#3919) --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 5a8bb1f7c..afbc589a3 100755 --- a/install.sh +++ b/install.sh @@ -63,6 +63,10 @@ fi # Use of single quotes around $() is intentional here # shellcheck disable=SC2016 +if ! grep -q "atuin init bash" "$HOME/.bashrc"; then + echo 'eval "$(atuin init bash)"' >> "$HOME/.bashrc" +fi + if [ -f "$HOME/.config/fish/config.fish" ]; then if ! grep -q "atuin init fish" "$HOME/.config/fish/config.fish"; then printf '\nif status is-interactive\n atuin init fish | source\nend\n' >> "$HOME/.config/fish/config.fish"