Add Zed as an optional editor choice

This commit is contained in:
David Heinemeier Hansson
2024-07-12 12:15:06 +02:00
parent dced8744b5
commit 66182b859d
3 changed files with 7 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ CHOICES=(
"Audacity Record and edit audio" "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" "Zoom Attend and host video chat meetings"
@@ -16,7 +17,7 @@ CHOICES=(
"<< Back " "<< Back "
) )
CHOICE=$(gum choose "${CHOICES[@]}" --height 17 --header "Install application") CHOICE=$(gum choose "${CHOICES[@]}" --height 18 --header "Install application")
if [[ "$CHOICE" == "<< Back"* ]] || [[ -z "$CHOICE" ]]; then if [[ "$CHOICE" == "<< Back"* ]] || [[ -z "$CHOICE" ]]; then
# Don't install anything # Don't install anything

View File

@@ -0,0 +1 @@
curl https://zed.dev/install.sh | sh

4
uninstall/app-zed.sh Normal file
View File

@@ -0,0 +1,4 @@
rm -rf ~/.local/zed.app
rm -rf ~/.local/bin/zed
rm .rf ~/.local/share/applications/dev.zed.Zed.desktop
rm -rf ~/.config/zed