added history functionality to my favourite clis