feat: simpler zsh prompt

This commit is contained in:
AngeD 2022-12-11 01:35:20 +01:00
parent 9d7d5c02ad
commit abd62fcf14
4 changed files with 18 additions and 1752 deletions

View file

@ -0,0 +1,13 @@
PROMPT='
$(kube_ps1)
%(?::%{$fg_bold[red]%}%? )%{$fg[cyan]%}%~%{$reset_color%} $(git_prompt_info)'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$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]%})"
KUBE_PS1_PREFIX=
KUBE_PS1_SEPARATOR=' '
KUBE_PS1_DIVIDER=/
KUBE_PS1_SUFFIX=