From fbf181c2e9dba7204f0512cbd26c2ab4cd7e170d Mon Sep 17 00:00:00 2001 From: Roger Date: Mon, 16 Sep 2019 13:53:21 +0200 Subject: [PATCH] fixed wrong colour escapes and terminal refresh Colour reset in bash is supposed to be "\033[0m" not "\0[0m" on lines 47. Also added zshrc source command to the end to automatically re-run zshrc so the user doesn't have to close and re-open their terminal. --- install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index d7a6309..8df25fc 100644 --- a/install.sh +++ b/install.sh @@ -44,7 +44,11 @@ EOL fi source $HOME/.brew_fix.zsh -echo "\033[0;31mbrew update might take some time, please be patient\0[0m" +echo "\033[0;31mbrew update might take some time, please be patient\033[0m" brew update brew upgrade -echo "\033[0;32mPlease open a new terminal to apply modifications\0[0m" +. ~/.zshrc +source ~/.zshrc +echo "\033[0;32mHomebrew is now ready. Run brew --help to see homebrew options.\033[0m" + +