debug bash overlap because custom prompt errors\nadd nvidia kernel config
This commit is contained in:
@@ -9,7 +9,7 @@ _git () {
|
||||
_ORIGIN="$(git remote show)"
|
||||
_AHEAD=$(git rev-list --left-right --count "$_BRANCH"..."$_ORIGIN"/"$_BRANCH" | cut -f 1)
|
||||
_BEHIND=$(git rev-list --left-right --count "$_BRANCH"..."$_ORIGIN"/"$_BRANCH" | cut -f 2)
|
||||
printf " %s " "$(git branch --show-current)"
|
||||
printf " %s " "$(git branch --show-current)"
|
||||
if (( _MODIFIED == 0 )) && (( _UNTRACKED == 0 )) && (( _AHEAD == 0 )) && (( _BEHIND == 0 ))
|
||||
then
|
||||
printf ""
|
||||
|
||||
Reference in New Issue
Block a user