typo
This commit is contained in:
parent
87b31de266
commit
c11f40b639
@ -95,10 +95,10 @@ function build_prompt {
|
||||
commits_behind=0
|
||||
|
||||
if [[ $commits_diff =~ ^\<(..) ]]; then
|
||||
commits_ahead = ${#BASH_REMATCH[@]}
|
||||
commits_ahead=${#BASH_REMATCH[@]}
|
||||
fi
|
||||
if [[ $commits_diff =~ ^\>(..) ]]; then
|
||||
commits_behind = ${#BASH_REMATCH[@]}
|
||||
commits_behind=${#BASH_REMATCH[@]}
|
||||
fi
|
||||
|
||||
if [[ $commits_ahead -gt 0 && $commits_behind -gt 0 ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user