summaryrefslogtreecommitdiff
path: root/oh-my-zsh.sh
diff options
context:
space:
mode:
authorPeter Tillemans <pti@snamellit.com>2012-06-12 13:53:24 +0200
committerPeter Tillemans <pti@snamellit.com>2012-06-12 13:53:24 +0200
commit3f42fd000c2110ec8647d341cb69a31ebbbe9b4e (patch)
treecf5722f41930d4e1c2c5027e58154d8082de7b3f /oh-my-zsh.sh
parentdc3074309555965e47b604499ca64a1489f639ed (diff)
parentcaa15548c107b9c31f61a67547ffab0b0cfe4934 (diff)
downloadzsh-3f42fd000c2110ec8647d341cb69a31ebbbe9b4e.tar.gz
zsh-3f42fd000c2110ec8647d341cb69a31ebbbe9b4e.tar.bz2
zsh-3f42fd000c2110ec8647d341cb69a31ebbbe9b4e.zip
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r--oh-my-zsh.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
index 732a403b7..c2b6049cb 100644
--- a/oh-my-zsh.sh
+++ b/oh-my-zsh.sh
@@ -51,7 +51,7 @@ for plugin ($plugins); do
done
# Load all of your custom configurations from custom/
-for config_file ($ZSH_CUSTOM/*.zsh) source $config_file
+for config_file ($ZSH_CUSTOM/*.zsh(.N)) source $config_file
# Load the theme
if [ "$ZSH_THEME" = "random" ]
@@ -65,12 +65,11 @@ then
else
if [ ! "$ZSH_THEME" = "" ]
then
- if [ -f "$ZSH/custom/$ZSH_THEME.zsh-theme" ]
+ if [ -f "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme" ]
then
- source "$ZSH/custom/$ZSH_THEME.zsh-theme"
+ source "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme"
else
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
fi
fi
fi
-