fix bash prompt detection