浏览代码

Postponing sourcing of the theme until after local customizations

Michael Komitee 13 年之前
父节点
当前提交
8294cf44d1
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 0 2
      lib/appearance.zsh
  2. 3 0
      oh-my-zsh.sh

+ 0 - 2
lib/appearance.zsh

@@ -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"

+ 3 - 0
oh-my-zsh.sh

@@ -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