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 | |
# 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) |
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 | |
# 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 |