summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2009-09-01 20:34:58 -0700
committerRobby Russell <robby@planetargon.com>2009-09-01 20:34:58 -0700
commit1978c04daac2bc207c6a12ca05d94aeaefba029c (patch)
tree85a7d078e9fc6766444e998854bc5253ab26cbca
parentd1a9efc4e2f054a549787ebba8a1ccced2ec15eb (diff)
downloadzsh-1978c04daac2bc207c6a12ca05d94aeaefba029c.tar.gz
zsh-1978c04daac2bc207c6a12ca05d94aeaefba029c.tar.bz2
zsh-1978c04daac2bc207c6a12ca05d94aeaefba029c.zip
Trying out some zsh-fu. Using the for x (*.zsh) source approach
-rw-r--r--oh-my-zsh.sh2
1 files changed, 1 insertions, 1 deletions
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