1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:10:08 +08:00

Postponing sourcing of the theme until after local customizations

This commit is contained in:
Michael Komitee 2011-01-08 23:34:47 -05:00
parent 7a9cc19819
commit 8294cf44d1
2 changed files with 3 additions and 2 deletions

View File

@ -34,5 +34,3 @@ ZSH_THEME_GIT_PROMPT_CLEAN="" # Text to display if the branch is c
# Setup the prompt with pretty colors
setopt prompt_subst
# Load the theme
source "$ZSH/themes/$ZSH_THEME.zsh-theme"

View File

@ -14,6 +14,9 @@ for config_file ($ZSH/custom/*.zsh) source $config_file
plugin=${plugin:=()}
for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
# Load the theme
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
# Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" = "true" ]
then