Skip to content

[Feature Request] Group stats row together #2702

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? No Sign in to your account

Open
Rignchen opened this issue Apr 15, 2025 · 1 comment
Open

[Feature Request] Group stats row together #2702

Rignchen opened this issue Apr 15, 2025 · 1 comment

Comments

@Rignchen
Copy link

On my computer I have multiple aliases, for example "quit=exit" and I use sometimes one or the other, when looking at stats I see 2 rows (it's a new computer that's why there's almost no commands run):

[▮▮▮▮▮▮▮   ]  7 quit
[▮▮▮▮▮      ]  5 exit

but I'd rather have 1 line

[▮▮▮▮▮▮▮▮▮▮] 11 exit

that shows me the amount of time I've exited a shell.

I have other commands that I'd like to group together like that.

In the configurations I thought maybe something like this

[stats.alias]
quit="exit"

which would then tell atuin to consider all quit as if they were exit

@Rignchen
Copy link
Author

Rignchen commented Apr 16, 2025

another example is the password manager pass which I have set as a common_subcommands, now in the stats I have pass -c pass -c1 pass -c2 pass -c3 as different calls, with these aliases I could set

[stats.alias]
"pass -c"="pass copy"
"pass -c1"="pass copy"
"pass -c2"="pass copy"
"pass -c3"="pass copy"

and have them all group together as pass copy

No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant