|
|
@ -1,3 +1,11 @@ |
|
|
|
|
|
|
|
# Check for updates on initial load... |
|
|
|
|
|
|
|
if [ "$DISABLE_AUTO_UPDATE" = "true" ] |
|
|
|
|
|
|
|
then |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
/usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Initializes Oh My Zsh |
|
|
|
# Initializes Oh My Zsh |
|
|
|
|
|
|
|
|
|
|
|
# add a function path |
|
|
|
# add a function path |
|
|
@ -28,7 +36,6 @@ done |
|
|
|
for config_file ($ZSH/custom/*.zsh) source $config_file |
|
|
|
for config_file ($ZSH/custom/*.zsh) source $config_file |
|
|
|
|
|
|
|
|
|
|
|
# Load the theme |
|
|
|
# Load the theme |
|
|
|
# Check for updates on initial load... |
|
|
|
|
|
|
|
if [ "$ZSH_THEME" = "random" ] |
|
|
|
if [ "$ZSH_THEME" = "random" ] |
|
|
|
then |
|
|
|
then |
|
|
|
themes=($ZSH/themes/*zsh-theme) |
|
|
|
themes=($ZSH/themes/*zsh-theme) |
|
|
@ -41,11 +48,3 @@ else |
|
|
|
source "$ZSH/themes/$ZSH_THEME.zsh-theme" |
|
|
|
source "$ZSH/themes/$ZSH_THEME.zsh-theme" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check for updates on initial load... |
|
|
|
|
|
|
|
if [ "$DISABLE_AUTO_UPDATE" = "true" ] |
|
|
|
|
|
|
|
then |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
/usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|