263446d7259e22a21fe797284607fd2423fb076b

Author
Hok Shun Poon <fushunpoon@googlemail.com>
Committer
Hok Shun Poon <fushunpoon@googlemail.com>
Date

Message

Expand for-loop so that it works under Snow Leopard Terminal.app.

Diff

 1diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
 2index ddef1ad6cf280b2c4ce53af32a77f8e493bab7fc..4a5b175d5b488816d1558ddfceb615d0bcff1b78 100644
 3--- a/oh-my-zsh.sh
 4+++ b/oh-my-zsh.sh
 5@@ -11,7 +11,9 @@ fpath=($ZSH/functions $ZSH/completions $fpath)
 6 
 7 # Load all of the config files in ~/oh-my-zsh that end in .zsh
 8 # TIP: Add files you don't want in git to .gitignore
 9-for config_file ($ZSH/lib/*.zsh) source $config_file
10+for config_file ($ZSH/lib/*.zsh); do
11+  source $config_file
12+done
13 
14 # Set ZSH_CUSTOM to the path where your custom config files
15 # and plugins exists, or else we will use the default custom/
16@@ -51,7 +53,9 @@ for plugin ($plugins); do
17 done
18 
19 # Load all of your custom configurations from custom/
20-for config_file ($ZSH_CUSTOM/*.zsh(N)) source $config_file
21+for config_file ($ZSH_CUSTOM/*.zsh(N)); do
22+  source $config_file
23+done
24 
25 # Load the theme
26 if [ "$ZSH_THEME" = "random" ]