From 1978c04daac2bc207c6a12ca05d94aeaefba029c Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Tue, 1 Sep 2009 20:34:58 -0700 Subject: [PATCH] Trying out some zsh-fu. Using the for x (*.zsh) source approach --- 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 d6382c973..b931f558a 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -2,4 +2,4 @@ # Load all of the config files in ~/oh-my-zsh that end in .zsh # TIP: Add files you don't want in git to .gitignore -for i in $ZSH/*.zsh; do source $i; done; +for config_file ($ZSH/*.zsh) source $config_file