From 66182b859df26fca06338d604bcbcd10728c11da Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 12 Jul 2024 12:15:06 +0200 Subject: [PATCH] Add Zed as an optional editor choice --- bin/omakub-sub/install.sh | 3 ++- install/desktop/optional/app-zed.sh | 1 + uninstall/app-zed.sh | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 install/desktop/optional/app-zed.sh create mode 100644 uninstall/app-zed.sh diff --git a/bin/omakub-sub/install.sh b/bin/omakub-sub/install.sh index f7413f3..dfc6209 100644 --- a/bin/omakub-sub/install.sh +++ b/bin/omakub-sub/install.sh @@ -8,6 +8,7 @@ CHOICES=( "Audacity Record and edit audio" "Ollama Run LLMs, like Meta's Llama3, locally" "RubyMine IntelliJ's commercial Ruby editor" + "Zed Fast all-purpose editor" "Spotify Stream music from the world's most popular service" "Steam Play games from Valve's store" "Zoom Attend and host video chat meetings" @@ -16,7 +17,7 @@ CHOICES=( "<< 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 # Don't install anything diff --git a/install/desktop/optional/app-zed.sh b/install/desktop/optional/app-zed.sh new file mode 100644 index 0000000..63380c7 --- /dev/null +++ b/install/desktop/optional/app-zed.sh @@ -0,0 +1 @@ +curl https://zed.dev/install.sh | sh diff --git a/uninstall/app-zed.sh b/uninstall/app-zed.sh new file mode 100644 index 0000000..a8f566f --- /dev/null +++ b/uninstall/app-zed.sh @@ -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