Browse Source

zsh: swap ahead/behind for vcs to match old prompt

Thomas Dy 4 years ago
parent
commit
7b57e35ba1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .zsh/p10k.zsh

+ 1 - 1
.zsh/p10k.zsh

@@ -309,8 +309,8 @@ fi
       meta='@'
     fi
     res+="%f($meta%B%F{magenta}$current%f%b"
-    (( VCS_STATUS_COMMITS_BEHIND )) && res+="v${VCS_STATUS_COMMITS_BEHIND}"
     (( VCS_STATUS_COMMITS_AHEAD  )) && res+="^${VCS_STATUS_COMMITS_AHEAD}"
+    (( VCS_STATUS_COMMITS_BEHIND )) && res+="v${VCS_STATUS_COMMITS_BEHIND}"
     res+="|"
     (( VCS_STATUS_NUM_STAGED     )) && res+="%F{green}+${VCS_STATUS_NUM_STAGED}%f"
     (( VCS_STATUS_NUM_CONFLICTED )) && res+="%F{red}x${VCS_STATUS_NUM_CONFLICTED}%f"