X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Flaunch_feisty_meow.sh;h=0d7d54beb9d4ed27a880d33b229d29314a573dd5;hb=d3d81fdadcda897a2191e6158015dc6abb0943f8;hp=c6efbf5ddea775380ec7f516604e9722cd5789e2;hpb=fdc5b94eba1a35628ef84e442b720cea0010f4d5;p=feisty_meow.git diff --git a/scripts/core/launch_feisty_meow.sh b/scripts/core/launch_feisty_meow.sh index c6efbf5d..0d7d54be 100644 --- a/scripts/core/launch_feisty_meow.sh +++ b/scripts/core/launch_feisty_meow.sh @@ -19,7 +19,7 @@ ############## # this script cannot handle figuring out where it lives, so approaches that -# get the WORKDIR will fail. this is a consequence of this always being used +# get the THISDIR will fail. this is a consequence of this always being used # in bash's 'source' directive, which does not pass the script name as # argument 0. instead, we just check for the bad condition of a malconfigured # script system and try to repair it. @@ -215,18 +215,21 @@ if [ "$NO_REPAIRS_NEEDED" == "true" ]; then unset FEISTY_MEOW_SHOW_LAUNCH_GREETING fi - # only run this hello file if the core aliases haven't been loaded already. this + # only run this hello file if the core feisty meow support haven't been loaded already. this # hopefully guarantees we show the info at most once in one shell continuum. - type CORE_ALIASES_LOADED &>/dev/null - if [ $? -ne 0 ]; then + # this can also be disabled if the NO_HELLO variable has a non-empty value. + type CORE_VARIABLES_LOADED &>/dev/null + if [ $? -ne 0 -a -z "$NO_HELLO" ]; then # print out a personalized hello file if we find one. if [ -f ~/hello.txt ]; then echo sep 28 - filedump ~/hello.txt + perl $FEISTY_MEOW_SCRIPTS/*/filedump.pl ~/hello.txt sep 28 echo fi + # from now on there should be no extra helloing. + export NO_HELLO=true fi # load the last bits we do here.