From 035bf9a99b64d415595f925009767775fb17fbc7 Mon Sep 17 00:00:00 2001 From: avinassh <640792+avinassh@users.noreply.github.com> Date: Sat, 8 May 2021 18:27:27 +0530 Subject: Add a newline when editing shell rc files (#60) * Add a newline when editing shell rc files * Update install.sh Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> * Update install.sh Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index f1b569dc..8ee17c6a 100755 --- a/install.sh +++ b/install.sh @@ -145,8 +145,8 @@ case "$OSTYPE" in esac # TODO: Check which is in use -echo 'eval "$(atuin init zsh)"' >> ~/.zshrc +printf '\neval "$(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 +printf '\n[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh' >> ~/.bashrc echo 'eval "$(atuin init bash)"' >> ~/.bashrc -- cgit v1.2.3