From 0cce4fe21e15b898c72cbefc0e12fb1d530ad952 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 d6382c97..b931f558 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