bash transitions