Awesome
Gianu Alternative Theme
Alternative to OMZ Gianu where it changes prompt based on privilege:
Installation
zsh — the Z shell
If you're using Oh My Zsh
- Download theme:
git clone --quiet https://github.com/zbentzinger/gianu-alternative-theme.git ~/.oh-my-zsh/custom/themes/gianu-alternative
- Select theme using omz:
omz theme set gianu-alternative/gianu-alternative
- Reload current zsh session:
omz reload
Without Oh My Zsh
- 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
- Select theme by sourcing it in .zshrc:
echo 'source ~/.zsh/themes/gianu-alternative/gianu-alternative.zsh-theme' >> ~/.zshrc
- Load theme immediately in current session:
source ~/.zsh/themes/gianu-alternative/gianu-alternative.zsh-theme