Composition containing, in a cosmetically acceptable medium, one or more volatile linear alkanes, at least 0.5 wt. % of one or more aminated silicones relative to the total weight of the cosmetic composition, and one or more vegetable oils different from the volatile linear alkanes. Use thereof for the treatment of keratinous materials, preferably of keratin fibres such as the hair.