2011-10-25 14:35:35 +11:00
|
|
|
COMMON_SHELL_FILES="$SHELL_FILES/../common"
|
|
|
|
|
|
|
|
# TODO: Remove duplicates from the PATH
|
|
|
|
PATH="/usr/local/bin:/usr/local/sbin:/usr/X11/bin:/usr/bin:/usr/sbin:/bin:/sbin:${PATH}"
|
|
|
|
CDPATH=".:${HOME}"
|
|
|
|
|
2011-10-26 06:05:49 +11:00
|
|
|
if [ -d "$HOME/Code" ]; then
|
|
|
|
CDPATH="$CDPATH:$HOME/Code"
|
|
|
|
fi
|
|
|
|
|
2011-10-25 14:35:35 +11:00
|
|
|
source "$SHELL_FILES"/config.*sh
|
|
|
|
|
|
|
|
files=`ls -1 "$COMMON_SHELL_FILES"/*.sh "$SHELL_FILES"/lib/*.*sh`
|
|
|
|
for file in $files; do
|
|
|
|
source $file
|
|
|
|
done
|