Make history command take a partial id, and do a match against it.