Merge pull request #1382 from fushunpoon/master
Unroll for-loops in .oh-my-zsh so that running zsh-5.0.0 on Terminal.app on Snow Leopard will work.
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
1314 # 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
1819 # 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
2425 # Load the theme
26 if [ "$ZSH_THEME" = "random" ]