Home

Awesome

Gianu Alternative Theme

Alternative to OMZ Gianu where it changes prompt based on privilege:

example

Installation


zsh — the Z shell

If you're using Oh My Zsh

  1. Download theme:
git clone --quiet https://github.com/zbentzinger/gianu-alternative-theme.git ~/.oh-my-zsh/custom/themes/gianu-alternative
  1. Select theme using omz:
omz theme set gianu-alternative/gianu-alternative
  1. Reload current zsh session:
omz reload

Without Oh My Zsh

  1. Download theme to the themes directory, for example, ~/.zsh/themes:
git clone --quiet https://github.com/zbentzinger/gianu-alternative-theme.git ~/.zsh/themes/gianu-alternative
  1. Select theme by sourcing it in .zshrc:
echo 'source ~/.zsh/themes/gianu-alternative/gianu-alternative.zsh-theme' >> ~/.zshrc
  1. Load theme immediately in current session:
source ~/.zsh/themes/gianu-alternative/gianu-alternative.zsh-theme