fixing bash prompt when on detached head