Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Install Zsh Theme

Dwi Fahni Denni (dfdenni) edited this page Aug 23, 2018 · 2 revisions

Installation Zsh Theme

Install Zsh Theme for Ubuntu version 16.04

Setup Installation

  • Create script install_zsh.sh

  • Add this line:

#!/usr/bin/env sh

##### INSTALL OH-MY-ZSH #####
rm -rf $HOME/.oh-my-zsh \
  && touch $HOME/.zshrc \
  && cd $HOME \
  && git clone https://github.com/robbyrussell/oh-my-zsh.git /opt/.oh-my-zsh \
  && git clone https://github.com/bhilburn/powerlevel9k.git /opt/.oh-my-zsh/custom/themes/powerlevel9k 

##### CONFIGURE OH-MY-ZSH #####
cd /opt \
  && tar zcvf oh-my-zsh.tar.gz .oh-my-zsh \
  && cp /opt/oh-my-zsh.tar.gz $HOME \
  && cd $HOME \
  && tar zxvf oh-my-zsh.tar.gz
  • Change executable script
chmod +x install_zsh.sh

Running Installation

sh ./install_zsh.sh

Change Default To zsh

$ chsh
enter: /bin/zsh
Clone this wiki locally