ajeetdsouza / zoxide

A smarter cd command. Supports all major shells.
https://crates.io/crates/zoxide
MIT License
23.13k stars 555 forks source link

zoxide reports "no match found" when a backslash is appended to the path #886

Closed xd003 closed 2 months ago

xd003 commented 2 months ago

When using zoxide to navigate directories, appending a backslash (\) to the directory name causes zoxide to fail with a "no match found" error, even though the directory exists. Without the backslash, zoxide successfully switches to the target directory. This behavior suggests that zoxide does not recognize paths with a trailing backslash as valid matches.

image

zoxide v0.9.4 nushell v0.97.1

ajeetdsouza commented 2 months ago

Dupe of https://github.com/ajeetdsouza/zoxide/issues/876