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

Can't use trailing slash as part of the pattern? #876

Open
dwexel opened this issue Aug 29, 2024 · 2 comments
Open

Can't use trailing slash as part of the pattern? #876

dwexel opened this issue Aug 29, 2024 · 2 comments

Comments

@dwexel
Copy link

dwexel commented Aug 29, 2024

when I z nvim it puts me in nvim-data\ which is fine.

PS C:\Users\~~~\Desktop> z nvim
PS C:\Users\~~~\AppData\Local\nvim-data>

so I try to specify, go to the directory whose full name is nvim\ , with no characters after that.

PS C:\Users\~~~\Desktop> z nvim\
zoxide: no match found

but, no match found. (I know both nvim\ and nvim-data\ are in my zoxide database)

@dwexel
Copy link
Author

dwexel commented Aug 29, 2024

I'd be happy to add code to make this true if that's a reasonable thing to do

@xd003
Copy link

xd003 commented Sep 13, 2024

imo it should definitely accept trailing slash as a pattern since many different shell completions append it after the directory

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