--- a/.bash_prompt Wed Aug 27 21:54:16 2014 +0900
+++ b/.bash_prompt Wed Aug 27 22:21:17 2014 +0900
local GIT_REV=$(LC_ALL=C git rev-parse --short HEAD 2>/dev/null)
if [[ $GIT_STATUS == *'Your branch is behind'* ]]; then
+ if [[ $GIT_STATUS == *'Your branch is ahead'* ]]; then
if [[ $GIT_STATUS == *'Changes to be committed'* ]]; then
- local GIT_INFO=" ${G}${GIT_BRANCH}±${GIT_REV}${GIT_STAGED}${GIT_UNSTAGED}${GIT_UPDATE}${RESET}"
+ local GIT_INFO=" ${G}${GIT_BRANCH}±${GIT_REV}${GIT_BEHIND}${GIT_AHEAD}${GIT_STAGED}${GIT_UNSTAGED}${RESET}"