From 78585ff01b34dcafd09b55b37fd173b870dad9e8 Mon Sep 17 00:00:00 2001 From: Toan Nguyen Date: Sun, 19 Mar 2017 16:13:33 +0700 Subject: [PATCH] Reload bash config after install/ update --- tools/install.sh | 1 - tools/upgrade.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install.sh b/tools/install.sh index 1f9073c..8911382 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -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 } diff --git a/tools/upgrade.sh b/tools/upgrade.sh index 1e6f7fe..afe88df 100644 --- a/tools/upgrade.sh +++ b/tools/upgrade.sh @@ -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