Reload bash config after install/ update

This commit is contained in:
Toan Nguyen 2017-03-19 16:13:33 +07:00
parent 5ad4621868
commit 78585ff01b
2 changed files with 1 additions and 1 deletions

@ -85,7 +85,6 @@ main() {
printf "%s\n" "Please look over the ~/.bashrc file to select plugins, themes, and options"
printf "${BLUE}${BOLD}%s${NORMAL}\n" "To keep up on the latest news and updates, follow us on GitHub: https://github.com/nntoan/oh-my-bash"
source $HOME/.bashrc
env bash
}

@ -32,6 +32,7 @@ then
printf '%s\n' ' /____/ '
printf "${BLUE}%s\n" "Hooray! Oh My Bash has been updated and/or is at the current version."
printf "${BLUE}${BOLD}%s${NORMAL}\n" "To keep up on the latest news and updates, follow us on GitHub: https://github.com/nntoan/oh-my-bash"
source $HOME/.bashrc
else
printf "${RED}%s${NORMAL}\n" 'There was an error updating. Try again later?'
fi