fixed feisty init for root
[feisty_meow.git] / feisty_inits / dot.bashrc-normal-user
index 616cfe04e66d31c8405a6c99c96578a86b78762e..edc83b709a74838dba2be900710ec189e7109121 100644 (file)
@@ -1,14 +1,7 @@
 
-# when added to ~/.bashrc, this code initializes the feisty meow environment
-# for "normal" users (not intended for the root user).
-
 ##############
 
-# If not running interactively, don't do anything
-case $- in
-    *i*) ;;
-      *) return;;
-esac
+# initializes the feisty meow environment for "normal" users (not intended for the root user).
 
 ##############
 
@@ -18,19 +11,29 @@ source /etc/bash.bashrc
 
 ##############
 
-# change this to your name...
-export NAME='Frunkooleon Q. GrendervaspPleaseChangeThis'
+# set the history sizes to be much larger, and do this whether we load the
+# feisty meow environment or not.
+
+export HISTSIZE=1000000
+export HISTFILESIZE=8000000
 
 ##############
 
+# system-wide install:
+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 $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh
+  source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh"
+fi
 
-  # if not commented out, then feisty meow will run all the unit tests during builds.
-  #export RUN_ALL_TESTS=true
+# if not commented out, then feisty meow will run all the unit tests during builds.
+#export RUN_ALL_TESTS=true
 
-fi
+# turns on noisy debugging in feisty meow scripts if uncommented.
+#export DEBUG_FEISTY_MEOW=true
 
 ##############