Explain the gum picker

This commit is contained in:
David Heinemeier Hansson
2025-07-22 13:01:19 -04:00
parent 8071642b66
commit 14d9cd452c

View File

@ -31,7 +31,7 @@ source ~/.local/share/omarchy/ansi.sh
if gum confirm "Start Docker DBs?"; then if gum confirm "Start Docker DBs?"; then
options=("MySQL" "Redis" "PostgreSQL") options=("MySQL" "Redis" "PostgreSQL")
choices=$(printf "%s\n" "${options[@]}" | gum choose --no-limit --header "Select databases") || exit 0 choices=$(printf "%s\n" "${options[@]}" | gum choose --no-limit --header "Select databases (space to select, return to install)") || exit 0
if [[ -n "$choices" ]]; then if [[ -n "$choices" ]]; then
for db in $choices; do for db in $choices; do