mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Merge 9bc4618da6 into 5667161d49
This commit is contained in:
commit
5cb04e98c1
1 changed files with 17 additions and 0 deletions
17
themes/warhead.zsh-theme
Normal file
17
themes/warhead.zsh-theme
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# warhead theme for oh-my-zsh
|
||||
|
||||
if [ $UID -eq 0 ]; then
|
||||
BCOLOR=$fg_bold[red]
|
||||
PCOLOR=$fg_bold[yellow]
|
||||
else
|
||||
BCOLOR=$fg_bold[blue]
|
||||
PCOLOR=$fg[green]
|
||||
fi
|
||||
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}[%{$reset_color%}%{$fg[green]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg_bold[blue]%}]%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%}+%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||
|
||||
PROMPT='%{$fg_bold[red]%}%(?..%?%1v )%{$fg_bold[white]%}%m %{$BCOLOR%}[%{$reset_color%}%{$PCOLOR%}%~%{$BCOLOR%}]$(git_prompt_info) %{$BCOLOR%}%# %{$reset_color%}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue