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
e4891c58
Commit
e4891c58
authored
Apr 23, 2013
by
Robby Russell
Browse files
Merge pull request #1569 from ZeroKnight/master
Better custom theme loading
parents
81ed0c41
8a463b6d
Changes
1
Show whitespace changes
Inline
Side-by-side
oh-my-zsh.sh
View file @
e4891c58
...
@@ -73,6 +73,9 @@ else
...
@@ -73,6 +73,9 @@ else
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"
elif
[
-f
"
$ZSH_CUSTOM
/themes/
$ZSH_THEME
.zsh-theme"
]
then
source
"
$ZSH_CUSTOM
/themes/
$ZSH_THEME
.zsh-theme"
else
else
source
"
$ZSH
/themes/
$ZSH_THEME
.zsh-theme"
source
"
$ZSH
/themes/
$ZSH_THEME
.zsh-theme"
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