diff options
author | avinassh <640792+avinassh@users.noreply.github.com> | 2021-05-08 18:27:27 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-08 12:57:27 +0000 |
commit | 035bf9a99b64d415595f925009767775fb17fbc7 (patch) | |
tree | adb328c43bc1bf8bbc1b32cb9a7ad909e422bda5 /install.sh | |
parent | 7c87624d8af033ff892bd1c21941207bcbfd3735 (diff) |
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>
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh index f1b569dc1..8ee17c6ac 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 |