Skip to content
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

If the exact name is specified, choose that dir. #956

Open
dev-ardi opened this issue Dec 13, 2024 · 1 comment
Open

If the exact name is specified, choose that dir. #956

dev-ardi opened this issue Dec 13, 2024 · 1 comment

Comments

@dev-ardi
Copy link

dev-ardi commented Dec 13, 2024

I have 2 directories:

│ ▌  308.0 /home/ardi/repos/prust
│     57.5 /home/ardi/repos/prust/mailbox
│     36.0 /home/ardi/repos/rust
                                                                                                                 

If I type in rust it goes to prust because it has more score. I'd like it to go to rust because it's the exact mach.

weirdly enough, if I type rust/ it goes to prust/mailbox
cc: #876

@antoyo
Copy link

antoyo commented Jan 13, 2025

I have a similar issue.

An alternative option (that could be behind a config) would be to take into account what is typed to choose the default directory selected.

I work on three projects that share part of their name:

  • rust
  • rustc_codegen_gcc
  • gcc

I would like the following behavior:

z rust # Goes to rust
z rustc # Goes to rustc_codegen_gcc
z gcc # Goes to gcc

Currently, all three options have the chance to go to the directory rustc_codegen_gcc.

@dev-ardi: Would that behavior suits you as well (you could type rust to go to rust and prust to go to prust)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants