mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
Merge dbc46f7dd0 into 62b8a70a7c
This commit is contained in:
commit
c5a407fc55
1 changed files with 13 additions and 0 deletions
13
themes/simplycool.zsh-theme
Normal file
13
themes/simplycool.zsh-theme
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
if [[ $EUID > 0 ]] ; then
|
||||||
|
local symbol=$
|
||||||
|
else
|
||||||
|
local symbol=#
|
||||||
|
fi
|
||||||
|
|
||||||
|
local symbol="%(?:%{$fg_bold[green]%}${symbol}:%{$fg_bold[red]%}${symbol})"
|
||||||
|
PROMPT='${symbol} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
|
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue