Save history in IRB