mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
modified cloud theme
This commit is contained in:
parent
420400e9ce
commit
0349a5f569
1 changed files with 12 additions and 0 deletions
12
themes/cloud+.zsh-theme
Normal file
12
themes/cloud+.zsh-theme
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
if [ $USER = 'root' ]; then
|
||||
cloud='red'
|
||||
else
|
||||
cloud='cyan'
|
||||
fi
|
||||
|
||||
PROMPT='%{$fg_bold[${cloud}]%}%m ☁ %{$fg_bold[green]%}%p %? %{$fg[green]%}%c %{$fg_bold[cyan]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}[%{$fg[cyan]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}] %{$fg[yellow]%}⚡%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}]"
|
||||
Loading…
Add table
Add a link
Reference in a new issue