Skip to content

Instantly share code, notes, and snippets.

View breithbarbot's full-sized avatar

Breith Barbot breithbarbot

View GitHub Profile
@breithbarbot
breithbarbot / uninstall_zsh.sh
Last active April 27, 2024 08:34
Uninstall Zsh + Oh My Zsh + Powerlevel10k theme (macOS & Linux)
#!/bin/sh
# Install 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)
@breithbarbot
breithbarbot / install_zsh.sh
Last active September 3, 2023 14:01
Install Zsh + Oh My Zsh + Powerlevel10k theme (macOS & Linux)
#!/bin/sh
# Install Zsh + Oh My Zsh + Powerlevel10k theme (macOS & Linux)
# run: sh -c "$(curl -fsSL "$(echo "$(curl -s "https://api.github.com/gists/42e9a1b65ecec83b0432331616baf4ee")" | grep -o '"raw_url": *"[^"]*"' | cut -d'"' -f4)")"
# Install Zsh
if [ "$(uname -s)" = "Darwin" ]; then
brew install zsh git
else
sudo apt install -y zsh git