Write mock history to a temp file and load it directly with `fc -R` instead of running each command individually to build up the history.