2024-04-05 13:08:21 +02:00
|
|
|
# vim:ft=zsh ts=2 sw=2 sts=2
|
|
|
|
|
2020-02-14 16:37:47 +01:00
|
|
|
local ret_status="%(?:%{$fg_bold[green]%}➜%{$reset_color%}:%{$fg[red]%}➜%{$reset_color%})"
|
|
|
|
local user="%(#:root@:)"
|
2019-11-26 17:40:43 +01:00
|
|
|
PROMPT='[%{$fg[red]%}${user}%M%{$reset_color%}][:%{$fg[green]%}%c%{$reset_color%}]$(git_prompt_info) ${ret_status} '
|
2017-07-17 01:28:35 +02:00
|
|
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[yellow]%}git:("
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[yellow]%})%{$reset_color%}"
|
2024-08-12 17:27:55 +02:00
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}✗%{$reset_color%}"
|
|
|
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}√%{$reset_color%}"
|