X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Freconfigure_feisty_meow.sh;h=bcf187acd89bdde42fbc38460a27b7cacee590e1;hb=d2bd4ec20ec62b90136eeefa518b91221ecb0ac6;hp=3a36be63bb74c1ca9f13b27d111bd9b1944669f2;hpb=6d2ec9becc9374e514a30f49763eca1f071d0e73;p=feisty_meow.git diff --git a/scripts/core/reconfigure_feisty_meow.sh b/scripts/core/reconfigure_feisty_meow.sh index 3a36be63..bcf187ac 100644 --- a/scripts/core/reconfigure_feisty_meow.sh +++ b/scripts/core/reconfigure_feisty_meow.sh @@ -7,7 +7,7 @@ # # Note: this does not yet ensure that the profile is executed on shell # startup. that can be added manually by editing your .bashrc file. -# read the examples/feisty_meow_startup/bashrc_user file for more details. +# read the files infobase/feisty_inits for more details. ORIGINATING_FOLDER="$( \cd "$(\dirname "$0")" && /bin/pwd )" CORE_SCRIPTS_DIR="$(echo "$ORIGINATING_FOLDER" | tr '\\\\' '/' )" @@ -41,8 +41,11 @@ export FEISTY_MEOW_LOADING_DOCK="$HOME/.zz_feisty_loading" if [ ! -d "$FEISTY_MEOW_LOADING_DOCK" ]; then mkdir -p "$FEISTY_MEOW_LOADING_DOCK" fi +# need to add some paths explicitly until we've bootstrapped ourselves. +export PERLLIB=$PERLLIB:"$FEISTY_MEOW_SCRIPTS/files":"$FEISTY_MEOW_SCRIPTS/generator" # make toast out of generated files right away, but leave any custom scripts. -find "$FEISTY_MEOW_LOADING_DOCK" -maxdepth 1 -type f -exec rm -f "{}" ';' &>/dev/null +find "$FEISTY_MEOW_LOADING_DOCK" -maxdepth 1 -type f -exec perl "$FEISTY_MEOW_SCRIPTS/files/safedel.pl" "{}" ';' +# &>/dev/null if [ ! -d "$FEISTY_MEOW_LOADING_DOCK/custom" ]; then mkdir "$FEISTY_MEOW_LOADING_DOCK/custom" fi @@ -61,7 +64,7 @@ source "$FEISTY_MEOW_SCRIPTS/core/variables.sh" # create our common aliases. perl "$FEISTY_MEOW_SCRIPTS/core/generate_aliases.pl" -if [ ! -z "$SHELL_DEBUG" ]; then +if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then echo established these variables for feisty_meow assets: echo ============== cat "$FEISTY_MEOW_VARIABLES_LOADING_FILE"