ddworken / hishtory

Your shell history: synced, queryable, and in context
https://hishtory.dev
MIT License
2.43k stars 41 forks source link

There are so many hishtory log files and it seems that hishtory only use one of them. #219

Open hongyi-zhao opened 1 month ago

hongyi-zhao commented 1 month ago

See below:

werner@x13dai-t:~/.hishtory$ ls
config.sh   hishtory-2024-05-19T03-36-06.604.log  hishtory-2024-05-22T11-07-27.369.log  hishtory-2024-06-03T05-00-32.232.log  hishtory-2024-06-14T11-29-31.727.log
config.zsh  hishtory-2024-05-19T14-48-52.432.log  hishtory-2024-05-24T00-24-17.679.log  hishtory-2024-06-07T08-14-07.310.log  hishtory.log
hishtory    hishtory-2024-05-21T08-18-20.699.log  hishtory-2024-05-27T07-57-46.446.log  hishtory-2024-06-11T12-29-57.273.log

I have the following questions:

  1. Why are so many log files generated?
  2. Is hishtory.log the log file currently in use?
  3. How can hishtory use all of these log files simultaneously?

Regards, Zhao