Browse code

Trying out some zsh-fu. Using the for x (*.zsh) source approach

Robby Russell authored on 02/09/2009 at 03:34:58
Showing 1 changed files
... ...
@@ -2,4 +2,4 @@
2 2
 
3 3
 # Load all of the config files in ~/oh-my-zsh that end in .zsh
4 4
 # TIP: Add files you don't want in git to .gitignore
5
-for i in $ZSH/*.zsh; do source $i; done;
5
+for config_file ($ZSH/*.zsh) source $config_file