I would put this inside the conditional body, since a sequence like this

```js
coffee> 0
0
coffee> .history
0
coffee> 0
0
```

will add two `0` entries to the persistence file.