Skip to content

Instantly share code, notes, and snippets.

@wizo06
Last active April 25, 2022 09:04
Show Gist options
  • Save wizo06/20960bbad38b90c05dc5781f7aab3587 to your computer and use it in GitHub Desktop.
Save wizo06/20960bbad38b90c05dc5781f7aab3587 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt-get install curl zsh git
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
cd ~/.oh-my-zsh/custom/plugins && \
git clone https://github.com/zsh-users/zsh-syntax-highlighting && \
curl -s https://gist.githubusercontent.com/wizo06/3dce572a8ba5ff7ddbf120829f541b7c/raw/d9ebbd0a3935264bf9cc2777a62aa887bf57d9a9/wizo-min.zsh-theme > ~/.oh-my-zsh/custom/themes/wizo-min.zsh-theme && \
sed 's/^ZSH_THEME="robbyrussell"/ZSH_THEME="wizo-min"/' ~/.zshrc > ~/.zshrc_new && mv ~/.zshrc_new ~/.zshrc && \
sed 's/^plugins=(git)/plugins=(git zsh-syntax-highlighting)/' ~/.zshrc > ~/.zshrc_new && mv ~/.zshrc_new ~/.zshrc && \
source ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment