directories is an OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows. The following conventions are used: XDG Base Directory Specification and xdg-user-dirs on Linux, Known Folders on Windows, Standard Directories on macOS.
it's because
$XDG_CONFIG_HOME/user-dirs.dirs
isn't automatically exported, so we should do something like:and get all values.