summaryrefslogtreecommitdiff
path: root/plugins/ralph-loop/scripts
diff options
context:
space:
mode:
authorTobin South <tobin.south@gmail.com>2026-03-16 12:49:30 -0700
committerTobin South <tobin.south@gmail.com>2026-03-16 12:49:30 -0700
commit4f0a09875b082cf7d9953467a97bdd35339a8cbf (patch)
treec9c3c789471fafd9aab0d301ecdf617954dada33 /plugins/ralph-loop/scripts
parentf3f13c44997a50cfb65e66afe27f25497936b383 (diff)
parentacd3701274473bdadf9a74fc92a5f6fa236bb04c (diff)
Merge PR #497: Fix empty array crash on bash 3.2 in setup-ralph-loop.sh
Diffstat (limited to 'plugins/ralph-loop/scripts')
-rwxr-xr-xplugins/ralph-loop/scripts/setup-ralph-loop.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ralph-loop/scripts/setup-ralph-loop.sh b/plugins/ralph-loop/scripts/setup-ralph-loop.sh
index c0897d45..d4f6e0fa 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