From 39f8b30d4d1a157e2b0ffa2f2e50427e50563ce7 Mon Sep 17 00:00:00 2001
From: Robby Russell <robby@planetargon.com>
Date: Fri, 28 Aug 2009 11:37:53 -0700
Subject: [PATCH] Loading all files in /Users/robbyrussell/oh-my-zsh that end
 in .zsh instead of specifying them manually

---
 zshrc | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/zshrc b/zshrc
index f54c9b894..9cdf91ccb 100644
--- a/zshrc
+++ b/zshrc
@@ -2,19 +2,9 @@ export PAGER=less
 export ZSH=$HOME/oh-my-zsh
 export LC_CTYPE=en_US.UTF-8
 
-# TODO: Refactor this sometimes soon...
-source $ZSH/colors.zsh
-source $ZSH/aliases.zsh
-source $ZSH/completion.zsh
-source $ZSH/rake_completion.zsh
-source $ZSH/functions.zsh
-source $ZSH/git.zsh
-source $ZSH/history.zsh
-source $ZSH/grep.zsh
-source $ZSH/prompt.zsh
-
-# Uncomment if you have a projects.zsh file
-# source $ZSH/projects.zsh
+# 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;
 
 # Directory stuff.
 
-- 
2.21.0