From 3a885305e4850aed2ca9e67f8560d39fd2963328 Mon Sep 17 00:00:00 2001 From: vandechat96 Date: Fri, 16 Sep 2022 10:24:51 +0200 Subject: [PATCH] custom zsh is now copied to allow correct update of omz --- omz-custom/themes/archcraft.zsh-theme | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 omz-custom/themes/archcraft.zsh-theme diff --git a/omz-custom/themes/archcraft.zsh-theme b/omz-custom/themes/archcraft.zsh-theme new file mode 100644 index 0000000..cc26ab0 --- /dev/null +++ b/omz-custom/themes/archcraft.zsh-theme @@ -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]%})"