From acd3701274473bdadf9a74fc92a5f6fa236bb04c Mon Sep 17 00:00:00 2001 From: LuciferDono Date: Wed, 4 Mar 2026 00:26:10 +0530 Subject: [PATCH] Fix empty array crash on bash 3.2 in setup-ralph-loop.sh --- plugins/ralph-loop/scripts/setup-ralph-loop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ralph-loop/scripts/setup-ralph-loop.sh b/plugins/ralph-loop/scripts/setup-ralph-loop.sh index 3d41db4..d8906f2 100755 --- a/plugins/ralph-loop/scripts/setup-ralph-loop.sh +++ b/plugins/ralph-loop/scripts/setup-ralph-loop.sh @@ -110,7 +110,7 @@ HELP_EOF done # Join all prompt parts with spaces -PROMPT="${PROMPT_PARTS[*]}" +PROMPT="${PROMPT_PARTS[*]:-}" # Validate prompt is non-empty if [[ -z "$PROMPT" ]]; then