Atuin wrapped feedback

I love the idea of atuin wrapped.

Unfortunately it paints the wrong picture, if you use certain aliases. e.g. I use aliases like gc for git commit, gco for git checkout, …
Thus only a handful of my actual git commands are recorded as git commands.

It’s not super problematic, but at least something to consider.

I liked it. Great revamping of atuin stats IIRC.

Curious how the new favorites in the second half of the year plays out. I’m assuming it is 2nd half / 1st half, ranked in descending order. Mines was cat which seems counter-intuitive lol.

I wonder whether we could use a combination of aliases stored in atuin dotfiles and a new stats.aliases map config to optionally expand aliases for stats/wrapped.

For example, with the below config, we might see stats for git commit and git checkout combined with counts for gc and gco, respectively.

[stats]
common_subcommands = ["git"]

[stats.aliases]
gc = "git commit"
gco = "git checkout"

And without "git" in stats.common_subcommands, they would all be rolled up into git stats.

I’d probably also want a new --[no-]aliases flag to atuin stats defaulting to --aliases as it’s already opt-in by configuring the aliases map (though not with dotfiles).