39f8b30d4d1a157e2b0ffa2f2e50427e50563ce7
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Loading all files in /Users/robbyrussell/oh-my-zsh that end in .zsh instead of specifying them manually
Diff
1diff --git a/zshrc b/zshrc
2index f54c9b89480588dc065abdbc3ebd4a9c9265bd97..9cdf91ccbcdead2991d639dd0f6d45648c993ec1 100644
3--- a/zshrc
4+++ b/zshrc
5@@ -2,19 +2,9 @@ export PAGER=less
6 export ZSH=$HOME/oh-my-zsh
7 export LC_CTYPE=en_US.UTF-8
8
9-# TODO: Refactor this sometimes soon...
10-source $ZSH/colors.zsh
11-source $ZSH/aliases.zsh
12-source $ZSH/completion.zsh
13-source $ZSH/rake_completion.zsh
14-source $ZSH/functions.zsh
15-source $ZSH/git.zsh
16-source $ZSH/history.zsh
17-source $ZSH/grep.zsh
18-source $ZSH/prompt.zsh
19-
20-# Uncomment if you have a projects.zsh file
21-# source $ZSH/projects.zsh
22+# Load all of the config files in ~/oh-my-zsh that end in .zsh
23+# TIP: Add files you don't want in git to .gitignore
24+for i in $ZSH/*zsh; do source $i; done;
25
26 # Directory stuff.
27