71e4a166cfd6c2cbd3b8ef7b48629c8cc30e10d2

Author
Jonathen Russell <jgr006@gmail.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

simple theme: indication of privileges (#3728)

I found this quite annoying not being in this theme after switching from gentoo-theme, it's helpful and it doesn't detract from simplicity.

Diff

 1diff --git a/themes/simple.zsh-theme b/themes/simple.zsh-theme
 2index a88d9d72a18690ff1d15c2e3615892ba92217f78..8d0070ba746be0af1af4b2901fc819e049a678ec 100644
 3--- a/themes/simple.zsh-theme
 4+++ b/themes/simple.zsh-theme
 5@@ -1,4 +1,4 @@
 6-PROMPT='%{$fg[green]%}%~%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} '
 7+PROMPT='%(!.%{$fg[red]%}.%{$fg[green]%})%~%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} '
 8 
 9 ZSH_THEME_GIT_PROMPT_PREFIX="("
10 ZSH_THEME_GIT_PROMPT_SUFFIX=")"