Skip to content

Instantly share code, notes, and snippets.

@divyashrestha
Last active April 24, 2025 13:25
Show Gist options
  • Select an option

  • Save divyashrestha/ffba3891a122d218b9359db4f57a1bd5 to your computer and use it in GitHub Desktop.

Select an option

Save divyashrestha/ffba3891a122d218b9359db4f57a1bd5 to your computer and use it in GitHub Desktop.
Install ZSH on Ubuntu (Oh-my-zsh)

List of terminal commands to install the zsh.

# ZSH
sudo apt install zsh -y
sudo apt-get install powerline fonts-powerline -y
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zsh

# REBOOT
# sudo reboot

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.zsh-syntax-highlighting" --depth 1
echo "source $HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> "$HOME/.zshrc"

git clone https://github.com/zsh-users/zsh-autosuggestions $HOME/.oh-my-zsh/custom/plugins/zsh-autosuggestions

# USE .zshrc config from
# https://gist.github.com/luizomf/35aa0596ea45555286d3f70133afebcc

# SET BACKGROUND COLOR TO
# #171724
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment