custom zsh is now copied to allow correct update of omz
This commit is contained in:
14
omz-custom/themes/archcraft.zsh-theme
Normal file
14
omz-custom/themes/archcraft.zsh-theme
Normal 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]%})"
|
||||
Reference in New Issue
Block a user