This commit is contained in:
Marco Thomas
2020-09-23 00:04:24 +02:00
parent afbe448b02
commit 24fc842639
8 changed files with 75 additions and 38 deletions

View File

@@ -12,7 +12,8 @@ autoload -U colors && colors
precmd_vcs_info() { vcs_info }
precmd_functions+=( precmd_vcs_info )
setopt prompt_subst
export PROMPT="%{$fg[yellow]%}%m %{$fg[blue]%}%~%{$fg[cyan]%}\$vcs_info_msg_0_ %{$reset_color%}"
GIT="%{$fg[cyan]%}\$vcs_info_msg_0_"
export PROMPT="%{$fg[yellow]%}%m %{$fg[blue]%}%~$GIT %{$reset_color%}"
zstyle ':vcs_info:git:*' formats '|%b '
# ============================== Exports