about summary refs log tree commit diff
path: root/home/shell/zsh/prompt.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'home/shell/zsh/prompt.zsh')
-rw-r--r--home/shell/zsh/prompt.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/shell/zsh/prompt.zsh b/home/shell/zsh/prompt.zsh
index fe93924..8a3efa9 100644
--- a/home/shell/zsh/prompt.zsh
+++ b/home/shell/zsh/prompt.zsh
@@ -3,11 +3,11 @@ setopt prompt_subst
 autoload -Uz vcs_info
 
 # display the name of the branch
-zstyle ':vcs_info:git*' formats "[%b]"
+zstyle ':vcs_info:git*' formats " [%b]"
 zstyle ':vcs_info:*' enable git
 
 precmd () { vcs_info }
-PROMPT='%m%f %F{yellow}$vcs_info_msg_0_ %F{green}%~%f %F{reset}'
+PROMPT='%m%f:%F{green}%~%f%F{yellow}$vcs_info_msg_0_ %F{reset}'
 
 # For tramp (emacs).
 if [ "$TERM" = "dumb" ]; then