git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix restoring cursorline after focus change.
[profile.git]
/
.profile.d
/
git-completion.bashrc
diff --git
a/.profile.d/git-completion.bashrc
b/.profile.d/git-completion.bashrc
index
5966932
..
481112d
100644
(file)
--- a/
.profile.d/git-completion.bashrc
+++ b/
.profile.d/git-completion.bashrc
@@
-119,9
+119,7
@@
__git_ps1 ()
git describe --exact-match HEAD ;;
esac 2>/dev/null)" ||
- b="$(cut -c1-7 "$g/HEAD" 2>/dev/null)..." ||
- b="unknown"
- b="($b)"
+ b="$(cut -c1-7 "$g/HEAD" 2>/dev/null)..." || return
}
fi