-
-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “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? Sign in to your account
add --reverse to history list #1252
add --reverse to history list #1252
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
First off, please change this to be a Draft PR. |
Documentation is missing for the new parameter |
One last question here would be, if it would be better to get the result sorted from the DB instead of reverse the vec afterwards. I would argue, in this case here, reverse should be fine, but obviously not the most optimal way of doing things. |
I asked for Draft, as it was titled WIP. But it looks like its more than WIP. |
I'm intimidated to change that |
@ellie / @conradludgate probably have an opinion here. |
We can avoid any reversing in sql or in code. In atuin/atuin/src/command/client/history.rs Line 116 in fbed286
We can choose whether we want to iterate over Let me know if you want some more help navigating the rust side of implementing this |
Yeah, I need some help with that. |
@kiran-4444 you might want to consoder to remove the WIP and make it an active PR |
If no longer wip just mark as active :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
Are there any issues I can work on? Went through issues list... but I just some help in selecting one. |
Tried working on this issue: #1239
This is a WIP and a very minimal (and brute force) implementation I did to get a hang of the repo. Seeking feedback on this. Thanks!