Save history tree to some file, like ~/.cache/tere/history.json. Must be configurable by user. Must not affect startup time significantly. Maybe could also try to trim the tree every now and then (with something like last_visited_time) to keep it from becoming too big.
Save history tree to some file, like
~/.cache/tere/history.json
. Must be configurable by user. Must not affect startup time significantly. Maybe could also try to trim the tree every now and then (with something likelast_visited_time
) to keep it from becoming too big.