浏览代码

Load themes from `$ZSH_CUSTOM` instead of `$ZSH/custom`

This seems like a simple oversight, everything else uses `$ZSH_CUSTOM`
rather than `$ZSH/custom`.
Jim Myhrberg 13 年之前
父节点
当前提交
f9018c5efb
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      oh-my-zsh.sh

+ 2 - 3
oh-my-zsh.sh

@@ -65,12 +65,11 @@ then
 else
 else
   if [ ! "$ZSH_THEME" = ""  ]
   if [ ! "$ZSH_THEME" = ""  ]
   then
   then
-    if [ -f "$ZSH/custom/$ZSH_THEME.zsh-theme" ]
+    if [ -f "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme" ]
     then
     then
-      source "$ZSH/custom/$ZSH_THEME.zsh-theme"
+      source "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme"
     else
     else
       source "$ZSH/themes/$ZSH_THEME.zsh-theme"
       source "$ZSH/themes/$ZSH_THEME.zsh-theme"
     fi
     fi
   fi
   fi
 fi
 fi
-