mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
add "sunaku" theme, see http://ompldr.org/vOHcwZg
This commit is contained in:
parent
3bb21afa88
commit
c1b5d72830
1 changed files with 26 additions and 0 deletions
26
themes/sunaku.zsh-theme
Normal file
26
themes/sunaku.zsh-theme
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Git-centric variation of the "fishy" theme.
|
||||||
|
# See screenshot at http://ompldr.org/vOHcwZg
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%}+"
|
||||||
|
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[magenta]%}!"
|
||||||
|
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%}-"
|
||||||
|
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%}>"
|
||||||
|
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[cyan]%}#"
|
||||||
|
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[yellow]%}?"
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX=""
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX=" "
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY=""
|
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||||
|
|
||||||
|
local user_color='green'
|
||||||
|
test $UID -eq 0 && user_color='red'
|
||||||
|
|
||||||
|
PROMPT='%(?..%{$fg_bold[red]%}exit %?
|
||||||
|
%{$reset_color%})'\
|
||||||
|
'%{$bold_color%}$(git_prompt_status)%{$reset_color%}'\
|
||||||
|
'$(git_prompt_info)'\
|
||||||
|
'%{$fg[$user_color]%}%~%{$reset_color%}'\
|
||||||
|
'%(!.#.>) '
|
||||||
|
|
||||||
|
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
|
Loading…
Reference in a new issue