Skip to content

Commit

Permalink
Load themes from $ZSH_CUSTOM instead of $ZSH/custom
Browse files Browse the repository at this point in the history
This seems like a simple oversight, everything else uses `$ZSH_CUSTOM`
rather than `$ZSH/custom`.
  • Loading branch information
jimeh committed May 6, 2012
1 parent 51c55ad commit f9018c5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions oh-my-zsh.sh
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f9018c5

Please sign in to comment.