From da79480d6d2efe23173e659a4b7a27e29809387b Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Fri, 26 Jan 2024 09:43:49 -0500 Subject: [PATCH] plugged in timestamper in a couple places --- scripts/core/functions.sh | 4 ++-- scripts/core/launch_feisty_meow.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 6cf06bef..c99cb0b6 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -221,7 +221,7 @@ if [ -z "$skip_all" ]; then # accepts any number of arguments and outputs them to the feisty meow event log. function log_feisty_meow_event() { - echo -e "$(date_stringer) -- ${USER}@$(hostname): $*" >> "$FEISTY_MEOW_EVENT_LOG" + echo -e "$(timestamper)-- ${USER}@$(hostname): $*" >> "$FEISTY_MEOW_EVENT_LOG" } ############## @@ -525,7 +525,7 @@ if [ -z "$skip_all" ]; then function regenerate() { # do the bootstrapping process again. save_terminal_title - echo "regenerating feisty meow script environment." + echo "$(timestamper)regenerating feisty meow script environment." bash $FEISTY_MEOW_SCRIPTS/core/reconfigure_feisty_meow.sh echo # force a full reload by turning off sentinel variables and methods. diff --git a/scripts/core/launch_feisty_meow.sh b/scripts/core/launch_feisty_meow.sh index 9caeff37..4eadb38f 100644 --- a/scripts/core/launch_feisty_meow.sh +++ b/scripts/core/launch_feisty_meow.sh @@ -101,6 +101,9 @@ if [ "$NO_REPAIRS_NEEDED" == "true" ]; then # solve that problem by running bash with the "-O expand_aliases" flags to # stop the expansion for the next subshell. shopt -s expand_aliases + # set the directory tab completion to behave properly and not start escaping + # the dollar signs in variable names. + shopt -u progcomp # patch the user variable if we were launched by one of our cron jobs. if [ -z "$USER" -a ! -z "$CRONUSER" ]; then -- 2.34.1