Browse Source

Merge PR #497: Fix empty array crash on bash 3.2 in setup-ralph-loop.sh

Tobin South 5 months ago
parent
commit
4f0a09875b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/ralph-loop/scripts/setup-ralph-loop.sh

+ 1 - 1
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