change the format returned by history command