Closed thomasschafer closed 2 months ago
Please try https://github.com/sxyazi/yazi/pull/1151
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. β³ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
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:https://github.com/sxyazi/yazi/assets/54135831/e52b3f09-89d0-4826-86d6-db7f28aa437e
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