diff options
| author | LuciferDono <pranavj821@gmail.com> | 2026-03-04 00:26:10 +0530 |
|---|---|---|
| committer | LuciferDono <pranavj821@gmail.com> | 2026-03-04 00:26:10 +0530 |
| commit | acd3701274473bdadf9a74fc92a5f6fa236bb04c (patch) | |
| tree | d6e5a50a6733995f9138712ab797ef8e36111616 /plugins/ralph-loop/scripts | |
| parent | 55b58ec6e5649104f926ba7558b567dc8d33c5ff (diff) | |
Fix empty array crash on bash 3.2 in setup-ralph-loop.sh
Diffstat (limited to 'plugins/ralph-loop/scripts')
| -rwxr-xr-x | plugins/ralph-loop/scripts/setup-ralph-loop.sh | 2 |
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 3d41db4a..d8906f28 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 |
