Support both bash and fish.