The person is washing their hair with rosemary oil, which has medicinal and curative properties.