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>
This commit is contained in:
parent
7c87624d8a
commit
035bf9a99b
1 changed files with 2 additions and 2 deletions
|
@ -145,8 +145,8 @@ case "$OSTYPE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# TODO: Check which is in use
|
# 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
|
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
|
echo 'eval "$(atuin init bash)"' >> ~/.bashrc
|
||||||
|
|
Loading…
Reference in a new issue