dotfiles/zsh/oh-my-zsh/themes/myowntheme.zsh-theme

10 lines
441 B
Plaintext
Raw Normal View History

local ret_status="%(?:%{$fg_bold[white]%}%%%{$reset_color%} :%{$fg_bold[red]%}%%%{$reset_color%} )"
PROMPT='%{$fg_bold[white]%}%n%{$reset_color%}: %{$fg_bold[blue]%}%c%{$reset_color%} $(git_prompt_info)${ret_status}'
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]%})"