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

10 lines
440 B
Plaintext
Raw Permalink Normal View History

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