Open jbellis opened 1 week ago
I saw the same behavior on two different machines, fwiw. One was 18.2.0 until I upgraded it. (Behavior did not change.)
Couple of questions;
atuin store rebuild history
?I think it's the esc
that's tripping it up... if you delete command(s) and then choose a history item to use it then seems to delete okay. At least in my testing.
I'm still struggling to replicate this, having tried a few different ways. Is there minimally reproducible example either of you could give?
Eg run a few specific commands, delete, then they're still there?
I think I figured it out. ctrl-r interface deduplicates the command history, but ctrl-o ctrl-d only deletes one of the instances. (the most recent?) atuin history list
shows instances of the command disappearing after deletion, and after all the instances are deleted then it stops showing up in ctrl-r.
So the confusion was that I thought that ctrl-o ctrl-d should delete all the instances and there was no feedback telling me that it was deleting instances of the command but only one.
Suggested fix:
Alternatively, let ctrl-o ctrl-d delete all the instances. (Arguably more intuitive.)
What did you expect to happen?
After deleting commands from history, they should stay gone next time I hit ctrl-r
What happened?
ctrl-r exec:java [5 results] ctrl-o ctrl-d, for 4 results [only 1 result now visible] esc
ctrl-r exec:java [5 results]
Atuin doctor output