Browse code

Loading all files in /Users/robbyrussell/oh-my-zsh that end in .zsh instead of specifying them manually

Robby Russell authored on 28/08/2009 at 18:37:53
Showing 1 changed files
... ...
@@ -2,19 +2,9 @@ export PAGER=less
2 2
 export ZSH=$HOME/oh-my-zsh
3 3
 export LC_CTYPE=en_US.UTF-8
4 4
 
5
-# TODO: Refactor this sometimes soon...
6
-source $ZSH/colors.zsh
7
-source $ZSH/aliases.zsh
8
-source $ZSH/completion.zsh
9
-source $ZSH/rake_completion.zsh
10
-source $ZSH/functions.zsh
11
-source $ZSH/git.zsh
12
-source $ZSH/history.zsh
13
-source $ZSH/grep.zsh
14
-source $ZSH/prompt.zsh
15
-
16
-# Uncomment if you have a projects.zsh file
17
-# source $ZSH/projects.zsh
5
+# Load all of the config files in ~/oh-my-zsh that end in .zsh
6
+# TIP: Add files you don't want in git to .gitignore
7
+for i in $ZSH/*zsh; do source $i; done;
18 8
 
19 9
 # Directory stuff.
20 10