Running Atuin v18.0.1 - Build rev 248213bf3eafdf53ac60b872aa1e454f334a288f
on Zsh.
I noticed that when one deletes a command from the history through the TUI inspector interface, the History count
in atuin states
decreases, as expected, but the number Deleted history count
does not decrease. It remains the same. Looking through the code, I say the counts are calculated correctly. So the numbers are not modified correctly when the delete operation is performed? Not sure.
For example, before deletion:
History count: 22301
Deleted history count: 361
and after deleting two entries:
History count: 22299
Deleted history count: 361
The same happens when running atuin search ... --delete
.
However, as far as I can tell, the number of deleted commands has been modified since I last checked it. Not sure whether to the correct value, but it did change. Maybe I just do not understand what the value represents and this is the expected behaviour.