Browse Source

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

Robby Russell 14 years ago
parent
commit
1978c04daa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      oh-my-zsh.sh

+ 1 - 1
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