From: Chris Koeritz Date: Thu, 9 Nov 2017 20:06:20 +0000 (-0500) Subject: nicely cleaned inits X-Git-Tag: 2.140.90~15 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=c2cc26d41a3c120e420ef56dc60ce27ed041a705;p=feisty_meow.git nicely cleaned inits --- diff --git a/feisty_inits/dot.bashrc-normal-user b/feisty_inits/dot.bashrc-normal-user index 0015d767..efd3423d 100644 --- a/feisty_inits/dot.bashrc-normal-user +++ b/feisty_inits/dot.bashrc-normal-user @@ -19,16 +19,21 @@ export HISTFILESIZE=8000000 ############## +# system-wide install: +export FEISTY_MEOW_APEX="/usr/local/fred" +# 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 - # turns on noisy debugging in feisty meow scripts if uncommented. - #export DEBUG_FEISTY_MEOW=true -fi +# turns on noisy debugging in feisty meow scripts if uncommented. +#export DEBUG_FEISTY_MEOW=true ############## diff --git a/feisty_inits/dot.bashrc-root b/feisty_inits/dot.bashrc-root index 29a32031..2851b0bf 100644 --- a/feisty_inits/dot.bashrc-root +++ b/feisty_inits/dot.bashrc-root @@ -3,6 +3,8 @@ # provides a macro to initialize the feisty meow environment for the "root" user. +############## + # 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 @@ -17,10 +19,19 @@ export HISTFILESIZE=8000000 ############## +# system-wide install: +export FEISTY_MEOW_APEX="/usr/local/fred" +# personal install: +#export FEISTY_MEOW_APEX="$HOME/feisty_meow" + # the "fredme" macro enables the feisty_meow environment. -#alias fredme='source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh' -# or if installed system wide, something like: -alias fredme='source /usr/local/fred/feisty_meow/scripts/core/launch_feisty_meow.sh' +alias fredme='source "$FEISTY_MEOW_APEX/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 + +# turns on noisy debugging in feisty meow scripts if uncommented. +#export DEBUG_FEISTY_MEOW=true ##############