Permalink
Browse files

Move modules to separate dir

  • Loading branch information...
1 parent 880d86c commit cdb1ed28a6a5530e4a59fbb1525385b21172f785 @alexbepple committed Feb 22, 2012
View
6 bashrc
@@ -20,19 +20,19 @@ function script_dir() {
}
readonly SCRIPT_DIR="$(script_dir)"
-add_to_path() {
+function add_to_path() {
export PATH=$1:$PATH
}
add_to_path "$HOME/local/bin"
# Homebrew
-for file in "$SCRIPT_DIR/brew"/*; do
+for file in "$SCRIPT_DIR/modules/brew"/*; do
source "$file"
done
# Git
-for file in "$SCRIPT_DIR/git"/*; do
+for file in "$SCRIPT_DIR/modules/git"/*; do
source "$file"
done
View
0 brew/00-init → modules/brew/00-init
File renamed without changes.
View
0 brew/brew-completion → modules/brew/brew-completion
File renamed without changes.
View
0 brew/brew-rm-completion → modules/brew/brew-rm-completion
File renamed without changes.
View
0 git/aliases → modules/git/aliases
File renamed without changes.
View
0 git/git-completion → modules/git/git-completion
File renamed without changes.

0 comments on commit cdb1ed2

Please sign in to comment.