summaryrefslogtreecommitdiff
path: root/themes/simple.zsh-theme
diff options
context:
space:
mode:
authorJonathen Russell <jgr006@gmail.com>2018-07-02 03:15:54 +1000
committerMarc Cornellà <marc.cornella@live.com>2018-07-01 19:15:54 +0200
commit71e4a166cfd6c2cbd3b8ef7b48629c8cc30e10d2 (patch)
treeb5f7a85216ec03ae43b444e9de8100f6b1ca67bd /themes/simple.zsh-theme
parent8f95637e6772a1156a29d9c6a9c21ea8d7316a12 (diff)
downloadzsh-71e4a166cfd6c2cbd3b8ef7b48629c8cc30e10d2.tar.gz
zsh-71e4a166cfd6c2cbd3b8ef7b48629c8cc30e10d2.tar.bz2
zsh-71e4a166cfd6c2cbd3b8ef7b48629c8cc30e10d2.zip
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.
Diffstat (limited to 'themes/simple.zsh-theme')
-rw-r--r--themes/simple.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/simple.zsh-theme b/themes/simple.zsh-theme
index a88d9d72a..8d0070ba7 100644
--- a/themes/simple.zsh-theme
+++ b/themes/simple.zsh-theme
@@ -1,4 +1,4 @@
-PROMPT='%{$fg[green]%}%~%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} '
+PROMPT='%(!.%{$fg[red]%}.%{$fg[green]%})%~%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="("
ZSH_THEME_GIT_PROMPT_SUFFIX=")"