add some cmds and history settings.