date_stringer &>/dev/null
if [ $? -eq 0 ]; then
# there was no error, so we can skip the inits.
-# if [ ! -z "$SHELL_DEBUG" ]; then
+ if [ ! -z "$SHELL_DEBUG" ]; then
echo skipping functions.sh because already defined.
-# fi
+ fi
fi
-echo proceeding to run functions.sh
-
if [ -z "$skip_all" ]; then
-
if [ ! -z "$SHELL_DEBUG" ]; then
echo function definitions begin...
fi
##############
- # windoze sometimes needs a special home variable setup.
- if [ "$OS" == "Windows_NT" ]; then
- # give them a default place if they don't have one already.
- if [ -z "$HOME" ]; then
- export HOME=c:/home
- fi
- # patch home to undo cygwin style of drive letter.
- # export HOME=$(echo $HOME | sed -e 's/\/cygdrive\//\//g')
- # make the home folder if it doesn't exist yet.
- if [ ! -d $HOME ]; then
- mkdir $HOME
- fi
- if [ ! -z "$SHELL_DEBUG" ]; then echo HOME is now $HOME; fi
- fi
-
- ##############
-
# fallbacks to set crucial variables for feisty meow...
# set the main root directory variable for the feisty meow codebase.