mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
tools/upgrade: Enable upgrading/(un)installing in the interactive shell process
This commit is contained in:
@@ -11,8 +11,8 @@ case $- in
|
||||
esac
|
||||
|
||||
# Check for updates on initial load...
|
||||
if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then
|
||||
env OSH="$OSH" DISABLE_UPDATE_PROMPT="$DISABLE_UPDATE_PROMPT" bash -f "$OSH"/tools/check_for_upgrade.sh
|
||||
if [[ $DISABLE_AUTO_UPDATE != true ]]; then
|
||||
source "$OSH"/tools/check_for_upgrade.sh
|
||||
fi
|
||||
|
||||
# Initializes Oh My Bash
|
||||
|
Reference in New Issue
Block a user