American_Jesus@lemm.ee to Linux@lemmy.ml · 11 months agoDotfiles matter! Please stop dumping files in users’ $HOME directories.dotfiles-matter.clickexternal-linkmessage-square137fedilinkarrow-up1625arrow-down19
arrow-up1616arrow-down1external-linkDotfiles matter! Please stop dumping files in users’ $HOME directories.dotfiles-matter.clickAmerican_Jesus@lemm.ee to Linux@lemmy.ml · 11 months agomessage-square137fedilink
minus-squareNate Cox@programming.devlinkfedilinkEnglisharrow-up32·11 months 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-squarepitbuster@lemmy.mllinkfedilinkarrow-up4·11 months 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
Thanks I was going to look for one with multi OS support :)