Skip to content

Instantly share code, notes, and snippets.

@NaveenKharwar
Created March 18, 2020 06:24
Show Gist options
  • Save NaveenKharwar/b1479c53fa809c0570a6d8f1d8763dd3 to your computer and use it in GitHub Desktop.
Save NaveenKharwar/b1479c53fa809c0570a6d8f1d8763dd3 to your computer and use it in GitHub Desktop.
#!/bin/sh
sudo apt update # Updating repo
sudo apt install wget git zsh -y # installing zsh, git and wget
chsh -s $(which zsh) # Make ZSH default shell
zsh
sudo wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
sudo wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/templates/zshrc.zsh-template -O ~/.zshrc
sudo apt install fonts-powerline
# Install Plugins -> Add more if you want
# Syntax Highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.zsh/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
# Auto Suggestion
echo "source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
echo "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc
# Apply Changes
source ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment