custom zsh is now copied to allow correct update of omz

This commit is contained in:
vandechat96
2022-09-16 10:24:51 +02:00
parent 8068edae51
commit 3a885305e4

View File

@@ -0,0 +1,14 @@
# Default OMZ theme for Archcraft
if [[ "$USER" == "root" ]]; then
PROMPT="%(?:%{$fg_bold[red]%}%{$fg_bold[yellow]%}%{$fg_bold[red]%} :%{$fg_bold[red]%} )"
PROMPT+='%{$fg[cyan]%} %c%{$reset_color%} $(git_prompt_info)'
else
PROMPT="%(?:%{$fg_bold[red]%}%{$fg_bold[green]%}%{$fg_bold[yellow]%} :%{$fg_bold[red]%} )"
PROMPT+='%{$fg[cyan]%} %c%{$reset_color%} $(git_prompt_info)'
fi
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]%})"