Dotfiles matter! Please stop dumping files in users’ $HOME directories.American_Jesus@lemm.ee to Linux@lemmy.ml – 672 points – 1 years agodotfiles-matter.click151Post a CommentPreviewYou are viewing a single commentView all commentsThe rust library mentioned there doesn’t support system install paths for windows or macOS, it only uses XDG. I recommend the directories crate which properly supports Linux, Mac, and Windows. https://github.com/dirs-dev/directories-rsSame with Python. I use a combination of the platformdirs and xdg libraries.Thanks I was going to look for one with multi OS support :)
The rust library mentioned there doesn’t support system install paths for windows or macOS, it only uses XDG. I recommend the directories crate which properly supports Linux, Mac, and Windows. https://github.com/dirs-dev/directories-rsSame with Python. I use a combination of the platformdirs and xdg libraries.Thanks I was going to look for one with multi OS support :)
The rust library mentioned there doesn’t support system install paths for windows or macOS, it only uses XDG. I recommend the
directories
crate which properly supports Linux, Mac, and Windows.https://github.com/dirs-dev/directories-rs
Same with Python. I use a combination of the
platformdirs
andxdg
libraries.Thanks I was going to look for one with multi OS support :)