Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
8bc60824
Commit
8bc60824
authored
Dec 26, 2011
by
Robby Russell
Browse files
Merge pull request #618 from fceccon/custom-theme
Use a custom version of a theme if the user has it
parents
480d1247
2ca2ad3f
Changes
1
Show whitespace changes
Inline
Side-by-side
oh-my-zsh.sh
View file @
8bc60824
...
@@ -59,7 +59,12 @@ then
...
@@ -59,7 +59,12 @@ then
else
else
if
[
!
"
$ZSH_THEME
"
=
""
]
if
[
!
"
$ZSH_THEME
"
=
""
]
then
then
if
[
-f
"
$ZSH
/custom/
$ZSH_THEME
.zsh-theme"
]
then
source
"
$ZSH
/custom/
$ZSH_THEME
.zsh-theme"
else
source
"
$ZSH
/themes/
$ZSH_THEME
.zsh-theme"
source
"
$ZSH
/themes/
$ZSH_THEME
.zsh-theme"
fi
fi
fi
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment