mirror of
https://github.com/ellie/atuin.git
synced 2024-08-17 17:00:33 +03:00
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
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user