Wrong folder for Windows in keymap preset
8LWXpg opened this issue · comments
What system are you running Yazi on?
Windows
What terminal are you running Yazi in?
Windows Terminal 1.20.11271.0
Did you try the latest code to see if this problem got fixed?
Not tried, and I'll explain why below
Describe the bug
The config
and temp
directory is different on Windows.
yazi/yazi-config/preset/keymap.toml
Lines 144 to 149 in 0ebfacb
Expected Behavior
config
should be ~/AppData/Roaming/yazi/config
and temp
should be ~/AppData/Local/Temp
on Windows
Configuration
No response
Anything else?
No response
Hi, cd ~/.config
here doesn't refer to Yazi's configuration but rather the configuration for all software. AFAIK, some Windows software does store their configuration files in ~/.config
, so I don't think this is an issue.
Regarding /tmp
, it is indeed a directory that doesn't exist on Windows. I'll create a PR to remove it – I want to try and find the largest common subset between Unix and Windows.
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.