mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
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.
This commit is contained in:
committed by
Marc Cornellà
parent
8f95637e67
commit
71e4a166cf
@@ -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=")"
|
||||
|
||||
Reference in New Issue
Block a user