Baby hair from spicy food myth or fact?

Before I miscarried, I craved spicy foods during the pregnancy and everybody kept telling me that my baby will have a lot of hair. Sadly I won't be able to find out for myself, but curiosity just kicked in. Is that backed up with facts or is it just a myth?