made the loop variable local, since it was hosing external uses of i variable.
[feisty_meow.git] / feisty_inits / dot.bashrc-normal-user
index be199063985342751eb20f80e7cc9d3fb27294e6..616cfe04e66d31c8405a6c99c96578a86b78762e 100644 (file)
@@ -1,13 +1,36 @@
 
-# this script is for normal users running bash (not the root user).
-# it can be added to your ~/.bashrc file to automatically load the feisty
-# meow script environment.
+# when added to ~/.bashrc, this code initializes the feisty meow environment
+# for "normal" users (not intended for the root user).
 
-### this should be set to your name...
-export NAME='Frunkooleon Q. Grendervasp'
+##############
 
+# If not running interactively, don't do anything
+case $- in
+    *i*) ;;
+      *) return;;
+esac
+
+##############
+
+# 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
+
+##############
+
+# change this to your name...
+export NAME='Frunkooleon Q. GrendervaspPleaseChangeThis'
+
+##############
+
+# sets up the feisty_meow scripts if appropriate for the environment.
 if [ "${TERM}" != "dumb" -a -z "$PBS_ENVIRONMENT" ]; then
-  # sets up the feisty_meow scripts.
   source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh
+
+  # if not commented out, then feisty meow will run all the unit tests during builds.
+  #export RUN_ALL_TESTS=true
+
 fi
 
+##############
+