If I have two folders with the almost the same name, and Zoxide at some point has the wrong view of which is the more common one, it’s very difficult to get rid of this. That’s because if I use Zoxide to go to the folder, I’ll be sent to the wrong one. If I then use Zoxide again to go to the other folder (since Zoxide goes to the second-best option if I’m already in the best one), the end result is that both entries get bumped in their importance.
The only way to increase the importance of one of the directories is if I navigate there without using Zoxide’s matching.
Zoxide should realise when I run Zoxide again immediately after running it that it’s made a wrong assessment and increment only the importance of the directory I go to last.
Here’s a screenshot showing the issue in zi (named yi on my system):
In this case, I pretty much always want to go to stable/linux, but since I went to torvalds/linux more often when the folders got created, Zoxide will always interpret linux as referring to torvalds/linux, no matter how often I then go to stable/linux instead.
If I have two folders with the almost the same name, and Zoxide at some point has the wrong view of which is the more common one, it’s very difficult to get rid of this. That’s because if I use Zoxide to go to the folder, I’ll be sent to the wrong one. If I then use Zoxide again to go to the other folder (since Zoxide goes to the second-best option if I’m already in the best one), the end result is that both entries get bumped in their importance.
The only way to increase the importance of one of the directories is if I navigate there without using Zoxide’s matching.
Zoxide should realise when I run Zoxide again immediately after running it that it’s made a wrong assessment and increment only the importance of the directory I go to last.
Here’s a screenshot showing the issue in
zi(namedyion my system):In this case, I pretty much always want to go to
stable/linux, but since I went totorvalds/linuxmore often when the folders got created, Zoxide will always interpretlinuxas referring totorvalds/linux, no matter how often I then go tostable/linuxinstead.