summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2009-08-28 11:37:53 -0700
committerRobby Russell <robby@planetargon.com>2009-08-28 11:37:53 -0700
commit39f8b30d4d1a157e2b0ffa2f2e50427e50563ce7 (patch)
tree39d3c5de493f8bd576d6fb6ea37e730695446e12 /zshrc
parent4e2b71bab88cac16d40d12675dcd3949191dff60 (diff)
downloadzsh-39f8b30d4d1a157e2b0ffa2f2e50427e50563ce7.tar.gz
zsh-39f8b30d4d1a157e2b0ffa2f2e50427e50563ce7.tar.bz2
zsh-39f8b30d4d1a157e2b0ffa2f2e50427e50563ce7.zip
Loading all files in /Users/robbyrussell/oh-my-zsh that end in .zsh instead of specifying them manually
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc16
1 files 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.