Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Slow query --list #406

@jw3126

Description

@jw3126

Thanks a lot for creating zoxide it makes navigating the file system amazingly fast. There is a slight issue I have and I wonder if something can be done about it. For me zoxide query --list takes about 5 seconds. This blocks some use cases for me for instance telescope-zoxide.

I think the root cause is that I have a few slow remote file systems mounted. AFAICT this line

if !self.matches_exists(&dir.path) {

checks the existence of directories, which is an expensive operation for me.

Could there maybe be a command-line flag to elide existence check in query?

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