Last active
December 9, 2024 02:41
-
-
Save brei0x/254e58bd87009963b3f58405d75cbe6c to your computer and use it in GitHub Desktop.
Uninstall Zsh + Oh My Zsh + Powerlevel10k theme (macOS & Linux)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Uninstall Zsh + Oh My Zsh + Powerlevel10k theme (macOS & Linux) | |
# run: sh -c "$(curl -fsSL "$(echo "$(curl -s "https://api.github.com/gists/254e58bd87009963b3f58405d75cbe6c")" | grep -o '"raw_url": *"[^"]*"' | cut -d'"' -f4)")" | |
# Remove installations + configurations | |
rm -f ~/.p10k.zsh | |
rm -rf -- ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k | |
sh ~/.oh-my-zsh/tools/uninstall.sh -y | |
sudo chsh -s $(which bash) | |
if [ "$(uname -s)" = "Darwin" ]; then | |
brew uninstall zsh | |
else | |
sudo apt remove zsh -y | |
sudo apt autoremove -y | |
fi | |
rm -Rf ~/.zsh* |
Uffff por fin, un resultado, mil gracias!
Thanks this was very useful
ditto
thank you so much......very very helpful
thanks .. saved so much of my time
Nice script!
Thank you, very useful.
Thank you so much!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks this was very useful