Created
April 4, 2021 13:44
-
-
Save dhairya137/76151436d2a8f03921668d01508a2774 to your computer and use it in GitHub Desktop.
Zsh install bash script part 2
This file contains hidden or 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
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