add cmdhistory extension