Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #618 from fceccon/custom-theme

Use a custom version of a theme if the user has it
  • Loading branch information...
commit 8bc60824f6f5ff9451fef9a240607a32109c0bbb 2 parents 480d124 + 2ca2ad3
@robbyrussell robbyrussell authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 oh-my-zsh.sh
View
7 oh-my-zsh.sh
@@ -59,7 +59,12 @@ then
else
if [ ! "$ZSH_THEME" = "" ]
then
- source "$ZSH/themes/$ZSH_THEME.zsh-theme"
+ if [ -f "$ZSH/custom/$ZSH_THEME.zsh-theme" ]
+ then
+ source "$ZSH/custom/$ZSH_THEME.zsh-theme"
+ else
+ source "$ZSH/themes/$ZSH_THEME.zsh-theme"
+ fi
fi
fi
Please sign in to comment.
Something went wrong with that request. Please try again.