Skip to content

Incorrect preferences get entrenched #1230

@schuelermine

Description

@schuelermine

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):

Image Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions