Skip to content

Instantly share code, notes, and snippets.

@dhairya137
Created April 4, 2021 13:44
Show Gist options
  • Save dhairya137/76151436d2a8f03921668d01508a2774 to your computer and use it in GitHub Desktop.
Save dhairya137/76151436d2a8f03921668d01508a2774 to your computer and use it in GitHub Desktop.
Zsh install bash script part 2
sudo apt-get install powerline fonts-powerline -y
sudo apt-get install zsh-theme-powerlevel9k -y
echo "source /usr/share/powerlevel9k/powerlevel9k.zsh-theme" >> ~/.zshrc
sudo apt-get install zsh-syntax-highlighting -y
echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
sudo apt-get install git -y
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
echo "source /usr/share/powerlevel9k/powerlevel9k.zsh-theme" >> ~/.zshrc
# Syntax highlight
echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
# zsh-auto suggestion
sudo git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# Go to ~/.zshrc and go to plugins and add zsh-autosuggestions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment