Store shell history in separate file