From 903206abf46a25f6f345eaa71db7559f8a7658c3 Mon Sep 17 00:00:00 2001 From: Paul Gideon Dann Date: Thu, 19 May 2011 11:16:52 +0100 Subject: [PATCH] Don't break when there are no files in custom/ --- oh-my-zsh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 3ea88e924..91e2eb866 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -23,7 +23,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 ($(find $ZSH/custom -iname \*.zsh)) source $config_file # Load the theme # Check for updates on initial load...