I've added a bash variable to manage the commands' history