Closed voronind-com closed 2 weeks ago
Sorry, I'm afraid I can't accept the PR, because this breaks on macOS and Windows, they don't have an XDG_CONFIG_HOME
and XDG_DOWNLOAD_DIR
at all, but they generally have the ~/.config
and ~/Downloads
folder
Sorry, I'm afraid I can't accept the PR, because this breaks on macOS and Windows, they don't have an
XDG_CONFIG_HOME
andXDG_DOWNLOAD_DIR
at all, but they generally have the~/.config
and~/Downloads
folder
Maybe OS detection would help in such cases? Right now it feels sad to lose one platform compatibility for other platforms. Same goes for manpages....
Right now yazi attempts to support all platforms w/o platform-specific features.
Don't get me wrong - I can accept platform-specific features as long as they don't cause trouble for users on other platforms, and there needs to be a better way to implement it than this PR, maybe as a built-in plugin
Closes #1878 More info about XDG here.