added all shell configuration files

This commit is contained in:
2012-02-06 00:33:43 +00:00
parent 1eb03bd739
commit 9044b2d7af
19 changed files with 895 additions and 0 deletions

22
shellrc.sh Normal file
View File

@@ -0,0 +1,22 @@
#
# Shell Init
#
# Set path to root of dotfiles
if [ -n "${BASH_SOURCE[0]}" ]; then
DOTFILES="`dirname \"${BASH_SOURCE[0]}\"`"
elif [ -n "$0" ]; then
DOTFILES="`dirname \"$0\"`"
fi
# # Load main dotfiles
DOTSHELL="$DOTFILES/shell"
if [ -f "$DOTSHELL/_main.sh" ]; then
source "$DOTSHELL/_main.sh"
fi
# # Setup and load private dotfiles
DOTPFILES="$DOTFILES/private"
if [ -f "$DOTPFILES/shellrc.sh" ]; then
source "$DOTPFILES/shellrc.sh"
fi