mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
* build: adding shell parsing package * feat: change shell provider start command based on shebang * test: test shell type selection in shell provider * test: update snapshot
13 lines
289 B
Bash
13 lines
289 B
Bash
#!/bin/bash
|
|
# Intentionally using a bash specific array syntax to ensure the correct shell is picked.
|
|
|
|
fruits=("apple" "banana" "cherry")
|
|
|
|
echo "Bash array test:"
|
|
for fruit in "${fruits[@]}"; do
|
|
echo "- $fruit"
|
|
done
|
|
|
|
echo "Array length: ${#fruits[@]}"
|
|
echo "Test completed successfully"
|