mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
9 lines
428 B
Bash
9 lines
428 B
Bash
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
|
|
ZSH_THEME_CURRENT_DATE=`date +`
|
|
|
|
PROMPT='${ret_status} [$ZSH_THEME_CURRENT_DATE%*] %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
|
|
|
|
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]%})"
|