zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
46.5k stars 2.63k forks source link

Zed uninstall script just like installation script (linux) #14306

Open sidharthpunathil opened 1 month ago

sidharthpunathil commented 1 month ago

Check for existing issues

Describe the feature

Note: Zed is just awesome! 

Why?

If applicable, add mockups / screenshots to help present your vision of the feature

No response

aintnodev commented 1 month ago

I ran the following commands to uninstall (what I've understood from install.sh):

rm -rf $HOME/.local/zed.app
rm -rf $HOME/.local/bin/zed
rm -rf $HOME/.local/share/zed

As zed is now available on Arch so i thought it would be a good idea to just install it from there.

aintnodev commented 1 month ago

I ran the following commands to uninstall (what I've understood from install.sh):

rm -rf $HOME/.local/zed.app
rm -rf $HOME/.local/bin/zed
rm -rf $HOME/.local/share/zed

As zed is now available on Arch so i thought it would be a good idea to just install it from there.

Run rm -rf $HOME/.local/share/applications/dev.zed.Zed.desktop to remove .desktop file as well however as you already have an AUR package installed so you may not want to remove the .desktop file.

Gambloide commented 1 month ago

I built the Flatpak version ~24 hours before general availability of Linux builds was announced and also identified these folders which I deleted:

rm -rf $HOME/.var/app/dev.zed.Zed-Dev/
rm -rf $HOME/.local/share/flatpak/app/dev.zed.Zed-Dev/
amithm7 commented 2 weeks ago

Devs don't want to merge the PR but this should work till a better solution comes:

curl https://raw.githubusercontent.com/zed-industries/zed/82ad7f2b/script/install.sh | sh -s uninstall

And in case you also want to remove the data folder on Linux:

rm -rf $HOME/.local/share/zed