Alternative to OMZ Gianu where it changes prompt based on privilege:
- 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
- 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