|
@ -88,7 +88,7 @@ __prompt_command() { |
|
|
if [[ $dirty -ne 0 ]]; then |
|
|
if [[ $dirty -ne 0 ]]; then |
|
|
PS1+="${Mag}…$dirty" |
|
|
PS1+="${Mag}…$dirty" |
|
|
else |
|
|
else |
|
|
local ahead=$(git rev-list --branches --not --remotes) |
|
|
|
|
|
|
|
|
local ahead=$(git rev-list --branches --not --remotes |wc -l) |
|
|
if [[ $ahead -ne 0 ]]; then |
|
|
if [[ $ahead -ne 0 ]]; then |
|
|
PS1+="${Blu}↑${ahead}" |
|
|
PS1+="${Blu}↑${ahead}" |
|
|
else |
|
|
else |
|
|