Sometimes when using a ketoconazole shampoo there are drying effects that can leave hair almost unmanageable. There is a way to change this. First, if the ketoconazole shampoo is making your hair too dry start using it less than your usually regimen, meaning if you shampoo everyday, now shampoo every other day.
If you do not want to lessen the amount of times you shampoo, try a leave in conditioner that is sulfate free. This will bring back moisture to your hair that was lost from the keto.