From 842a2caaed26d7673990920b8cca1093f7bfbb0c Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Mon, 25 Sep 2023 19:18:30 -0500 Subject: [PATCH] fix: update personalize with variable expansion --- personalize/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/personalize/run.sh b/personalize/run.sh index 466be1c..94a9539 100755 --- a/personalize/run.sh +++ b/personalize/run.sh @@ -4,6 +4,7 @@ BOLD='\033[0;1m' CODE='\033[36;40;1m' RESET='\033[0m' SCRIPT="${PERSONALIZE_PATH}" +SCRIPT="$${SCRIPT/#\~/$${HOME}}" # If the personalize script doesn't exist, educate # the user how they can customize their environment! @@ -23,4 +24,4 @@ if [ ! -x $SCRIPT ]; then fi # Run the personalize script! -exec $SCRIPT +$SCRIPT