X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.profile.d%2Fgit-completion.bashrc;h=481112d0b858ff3f6e9b8098c978d198a5db3e91;hp=59669329bf9288b1bb5e0f4f9e0b822a0e915a63;hb=2b1bf28a9ce5697d91e668bcb6569ef3202f1b90;hpb=c72b06b8f53918ae4b414559d958207fffe9fc52 diff --git a/.profile.d/git-completion.bashrc b/.profile.d/git-completion.bashrc index 5966932..481112d 100644 --- 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