You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running atuin stats (after a fresh install and import) I was surprised to see that my "unique commands" number was greater than my "total commands" number:
☭ ~ ⋊> atuin stats
[▮▮▮▮▮▮▮▮▮▮] 503 go test
[▮▮▮▮▮▮▮▮ ] 442 vim
[▮▮▮▮▮▮▮▮ ] 418 git checkout
[▮▮▮▮▮▮▮▮ ] 412 rm
[▮▮▮▮▮▮▮ ] 401 grep
[▮▮▮▮▮▮▮ ] 393 go run
[▮▮▮▮▮ ] 298 cat
[▮▮▮▮▮ ] 287 curl
[▮▮▮▮▮ ] 261 fly
[▮▮▮▮ ] 232 echo
Total commands: 8575
Unique commands: 9367
Looking at source, these two figures actually count different sets of commands:
Unique counts both full commands and the results of split_at_pipe
Total counts only full commands
This feels wrong to me: since "total" and "unique" are presented together, I think they ought to refer to the same set of commands. (I don't have an opinion about whether that set should or should not include split_at_pipe).
The text was updated successfully, but these errors were encountered:
Very cool program! Thanks for writing it!
Running
atuin stats
(after a fresh install and import) I was surprised to see that my "unique commands" number was greater than my "total commands" number:Looking at source, these two figures actually count different sets of commands:
This feels wrong to me: since "total" and "unique" are presented together, I think they ought to refer to the same set of commands. (I don't have an opinion about whether that set should or should not include split_at_pipe).
The text was updated successfully, but these errors were encountered: