-
Notifications
You must be signed in to change notification settings - Fork 471
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
Strange behaviour when renaming a file with only case changes #1147
Comments
Please try #1151 |
That works! Thank you so much for getting this sorted so quickly 🙌 |
Nice - I think I saw this at some point but realized it too late, and didn't figure out this was the cause 👍🏻 |
I'm going to lock this issue because it has been closed for 30 days. ⏳ |
What system are you running Yazi on?
macOS
What terminal are you running Yazi in?
alacritty 0.13.2 (bb8ea18)
Did you try the latest code to see if this problem got fixed?
Tried, but the problem still
yazi --debug
outputLogs:
Describe the bug
When changing a filename with a case-only change (e.g.
foo
toofoO
), a prompt is shown askingOverwrite an existing file? (y/N)
, and then both the new file name and the old file name are shown, even though only the new file exists.The screen recording below shows the issue when renaming
foo
tofoO
, and then a rename fromfoO
tofoOa
which shows the expected behaviour:Screen.Recording.2024-06-11.at.16.58.20.mov
Expected Behavior
Case changes should behave the same as other name changes
To Reproduce
Rename a file with a case-only change, e.g.
foo
tofoO
Configuration
No config
Anything else?
No response
The text was updated successfully, but these errors were encountered: