fix(install): atuin init for bash (#3919)

This commit is contained in:
Ellie Huxtable
2026-08-13 20:12:38 -07:00
committed by GitHub
parent 623b94ae6c
commit bb280a2224
+4
View File
@@ -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"