From 928380bc411b7468184f4e81e6241c057b8dcda2 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Mon, 25 Sep 2023 19:15:41 -0500 Subject: [PATCH] Fix script expansion for personalize --- 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