From: Chris Koeritz Date: Thu, 21 Jul 2016 23:47:44 +0000 (-0400) Subject: updated normal user example bashrc with some nicer bits. X-Git-Tag: 2.140.90~502 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=3df1c3907cbb142e2f86aa81073eba2ec3e26d84;p=feisty_meow.git updated normal user example bashrc with some nicer bits. --- diff --git a/feisty_inits/dot.bashrc-normal-user b/feisty_inits/dot.bashrc-normal-user index 1a82d490..616cfe04 100644 --- a/feisty_inits/dot.bashrc-normal-user +++ b/feisty_inits/dot.bashrc-normal-user @@ -2,10 +2,35 @@ # 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 + +############## + +# 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 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 +############## + diff --git a/feisty_inits/dot.bashrc-root b/feisty_inits/dot.bashrc-root index 00df34fd..fadd383c 100644 --- a/feisty_inits/dot.bashrc-root +++ b/feisty_inits/dot.bashrc-root @@ -1,4 +1,8 @@ +############## + # the "fredme" macro enables the feisty_meow environment. alias fredme='source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh' +############## +