X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=infobase%2Ffeisty_inits%2Fdot.bashrc-normal-user;h=9c15d01120ecaa85b661bb9186fa9bcd40c4a69c;hb=bd161b5a4309c4a156ea05677ccf2388374c2307;hp=edc83b709a74838dba2be900710ec189e7109121;hpb=5dacef4621a07b9289d3ec6882862b7d2390387f;p=feisty_meow.git diff --git a/infobase/feisty_inits/dot.bashrc-normal-user b/infobase/feisty_inits/dot.bashrc-normal-user index edc83b70..9c15d011 100644 --- a/infobase/feisty_inits/dot.bashrc-normal-user +++ b/infobase/feisty_inits/dot.bashrc-normal-user @@ -5,9 +5,14 @@ ############## -# drag in the default version of this file. this may not be needed if your -# .bashrc script already has substantial code or already does this. -source /etc/bash.bashrc +if [ -f /etc/bash.bashrc ]; then + # drag in the default version of this file. this may not be needed if your + # .bashrc script already has substantial code or already does this. + source /etc/bash.bashrc +elif [ -f /etc/bashrc ]; then + # pull in the mac's version of this file. + source /etc/bashrc +fi ############## @@ -19,14 +24,16 @@ export HISTFILESIZE=8000000 ############## -# system-wide install: +# system-wide install (will be fixed by connect_feisty_meow script): export FEISTY_MEOW_APEX="/opt/feistymeow.org/feisty_meow" -# personal install: -#export FEISTY_MEOW_APEX="$HOME/feisty_meow" # sets up the feisty_meow scripts if appropriate for the environment. if [ "${TERM}" != "dumb" -a -z "$PBS_ENVIRONMENT" ]; then - source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh" + if [ -d "$FEISTY_MEOW_APEX" ]; then + source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh" + else + echo "feisty meow codebase is not available at: $FEISTY_MEOW_APEX" + fi fi # if not commented out, then feisty meow will run all the unit tests during builds.