aitjcize / cppman

C++ 98/11/14 manual pages for Linux/MacOS
GNU General Public License v3.0
1.27k stars 79 forks source link

XDG Base Directory support #45

Closed jwilk closed 5 years ago

jwilk commented 8 years ago

It would be cool if cppman followed the XDG Base Directory Specification.

aitjcize commented 8 years ago

Do you mean reading env variable such as XDG_DATA_HOME? Currently cppman stores it's config to $HOME/.config and data to $HOME/.local/share, which is already confront to the XDG base specification.

lantw44 commented 8 years ago

I think reading $XDG_CONFIG_HOME and $XDG_DATA_HOME is required by the specification, so this feature is very nice to have.

jwilk commented 8 years ago

Yes, I'm mainly interested in honoring XDG_* environment variables. Although one could argue that cached manpages should by default go to ~/.cache/, not ~/.local/share/.