Skip to content

Instantly share code, notes, and snippets.

@cedced19
Last active November 2, 2018 16:37
Show Gist options
  • Save cedced19/f5bc6b467ea058e954e5 to your computer and use it in GitHub Desktop.
Save cedced19/f5bc6b467ea058e954e5 to your computer and use it in GitHub Desktop.
Install ZSH and Gitster

Install ZSH

cd ~
apt-get install zsh
zsh
chsh # /bin/zsh
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
cd .oh-my-zsh/themes/
nano gitster.zsh-theme

Get content of gitster.zsh-theme here and write this one.

cd ~
nano .zshrc

Then edit it to use that theme:

ZSH_THEME="gitster"

And restart your terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment