summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-12-16 01:20:49 -0600
committerJesse Luehrs <doy@tozt.net>2009-12-16 01:20:49 -0600
commit7e8fb301acc266b480ed90adb678909ed347a22c (patch)
tree386a578015405070f9ae0e7394044587923f3b18 /bashrc
parenta2d9caddc14ca66b34ec00e511424145992f5aeb (diff)
downloadconf-7e8fb301acc266b480ed90adb678909ed347a22c.tar.gz
conf-7e8fb301acc266b480ed90adb678909ed347a22c.zip
add bisecting state to prompt
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index b94ea64..6d6e7ff 100644
--- a/bashrc
+++ b/bashrc
@@ -271,6 +271,9 @@ function _set_vcs {
if [[ -d "${git_dir}/rebase-apply" || -d "${git_dir}/rebase-merge" ]]; then
vcs_state='rebase'
fi
+ if [[ -e "${git_dir}/BISECT_START" ]]; then
+ vcs_state='bisect'
+ fi
if [[ "x$vcs_branch" == "xmaster" ]]; then
vcs_branch=''
fi