Alpha sort list and make room for the new addition

This commit is contained in:
David Heinemeier Hansson
2024-07-12 12:25:13 +02:00
parent 2e74c7115a
commit 2f068f8868

View File

@@ -2,23 +2,23 @@ CHOICES=(
"Dev Language Install programming language environment" "Dev Language Install programming language environment"
"Dev Database Install development database in Docker" "Dev Database Install development database in Docker"
"1password Manage your passwords securely across devices" "1password Manage your passwords securely across devices"
"Audacity Record and edit audio"
"Brave Chrome-based browser with built-in ad blocking" "Brave Chrome-based browser with built-in ad blocking"
"Doom Emacs Emacs framework with curated list of packages" "Doom Emacs Emacs framework with curated list of packages"
"Dropbox Sync files across computers with ease" "Dropbox Sync files across computers with ease"
"OBS Studio Record screencasts with inputs from both display + webcam" "OBS Studio Record screencasts with inputs from both display + webcam"
"Audacity Record and edit audio"
"Ollama Run LLMs, like Meta's Llama3, locally" "Ollama Run LLMs, like Meta's Llama3, locally"
"RubyMine IntelliJ's commercial Ruby editor" "RubyMine IntelliJ's commercial Ruby editor"
"Zed Fast all-purpose editor"
"Spotify Stream music from the world's most popular service" "Spotify Stream music from the world's most popular service"
"Steam Play games from Valve's store" "Steam Play games from Valve's store"
"Zoom Attend and host video chat meetings"
"VirtualBox Virtual machines to run Windows/Linux" "VirtualBox Virtual machines to run Windows/Linux"
"Zed Fast all-purpose editor"
"Zoom Attend and host video chat meetings"
"> All Re-run any of the default installers" "> All Re-run any of the default installers"
"<< Back " "<< Back "
) )
CHOICE=$(gum choose "${CHOICES[@]}" --height 18 --header "Install application") CHOICE=$(gum choose "${CHOICES[@]}" --height 19 --header "Install application")
if [[ "$CHOICE" == "<< Back"* ]] || [[ -z "$CHOICE" ]]; then if [[ "$CHOICE" == "<< Back"* ]] || [[ -z "$CHOICE" ]]; then
# Don't install anything # Don't install anything