@American_Jesus@lemm.ee to Linux@lemmy.ml • 2 years agoDotfiles matter! Please stop dumping files in users’ $HOME directories.dotfiles-matter.clickmessage-square145fedilinkarrow-up1670arrow-down19
arrow-up1661arrow-down1external-linkDotfiles matter! Please stop dumping files in users’ $HOME directories.dotfiles-matter.click@American_Jesus@lemm.ee to Linux@lemmy.ml • 2 years agomessage-square145fedilink
minus-squareNate CoxlinkfedilinkEnglish32•2 years agoThe 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
minus-square6xpipe_linkfedilink9•2 years agoSame with Python. I use a combination of the platformdirs and xdg libraries.
minus-square@pitbuster@lemmy.mllinkfedilink3•2 years agoThanks 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 :)