-
Notifications
You must be signed in to change notification settings - Fork 557
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
Case-sensitivity issues with zoxide database? #740
Comments
@jesseleite Just giving my 2 cents here. Apple FS is case insensitive by default. Zoxide uses by default |
@dalton-oliveira Interesting. That works as far as only storing the proper path, but this is weird... So if I But if I CleanShot.2024-03-27.at.20.53.37.mp4 |
This behavior is due to, after you change to The Lines 55 to 67 in 94d3cba
|
@dalton-oliveira Oh interesting! Are you suggesting a potential change under the hood? Or something I'm supposed to do as an end user? I really want to use zoxide though for two reasons: 1) I really like Thing is though, I'm coming from rupa/z which handles this directory case-sensitivity stuff on MacOS just fine, in that it never puts me in a directory in lowercase, when the directory exists on my system with uppercase characters. |
Just my two cents about this specific problem @jesseleite, you might want to change your directory to lowercase "code" 😉 |
@joshmedeski That's a workaround, not a solution. MacOS allows us to capitalize folder names :D |
@jesseleite Can you test ? You'll need export _ZO_RESOLVE_SYMLINKS=1
cargo build && eval "$(./target/debug/zoxide init zsh --cmd z)" |
@dalton-oliveira Just built and tested your PR, works perfect 😍 |
I'm using MacOS and have a
~/Code
directory, and am finding inconsistent results when trying to change directory usingz co
vsz code
...But then if I
zoxide edit
to look at database, I see it's database them as SEPARATE folders, when only one folder with this name exists?Is there a way to prevent zoxide from doing this?
Note: I'm coming from rupa/z, where the only thing that gets indexed is
~/Code
(with capitalC
), therefore bothz co
andz code
both bring me to~/Code
(with capitalC
), as I'd expect.The text was updated successfully, but these errors were encountered: