Aluminium chloride selectively promoted the nucleophilic attack of β-diketone compounds with nitriles to give enaminones.