Dotfiles matter! Please stop dumping files in users’ $HOME directories.dotfiles-matter.clickcross-posted to: programming@programming.dev American_Jesus ( @American_Jesus@lemm.ee ) Linux@lemmy.ml • 9 months ago message-square45fedilinkarrow-up1418
arrow-up1418external-linkDotfiles matter! Please stop dumping files in users’ $HOME directories.dotfiles-matter.click American_Jesus ( @American_Jesus@lemm.ee ) Linux@lemmy.ml • 9 months ago message-square45fedilinkcross-posted to: programming@programming.dev
minus-square Nate Cox ( @natecox@programming.dev ) linkfedilinkEnglish23•9 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-square pitbuster ( @pitbuster@lemmy.ml ) linkfedilink2•9 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 :)