Reload bash config after install/ update
This commit is contained in:
parent
5ad4621868
commit
78585ff01b
@ -85,7 +85,6 @@ main() {
|
|||||||
printf "%s\n" "Please look over the ~/.bashrc file to select plugins, themes, and options"
|
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"
|
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
|
source $HOME/.bashrc
|
||||||
env bash
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ then
|
|||||||
printf '%s\n' ' /____/ '
|
printf '%s\n' ' /____/ '
|
||||||
printf "${BLUE}%s\n" "Hooray! Oh My Bash has been updated and/or is at the current version."
|
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"
|
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
|
else
|
||||||
printf "${RED}%s${NORMAL}\n" 'There was an error updating. Try again later?'
|
printf "${RED}%s${NORMAL}\n" 'There was an error updating. Try again later?'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user