aitjcize / cppman

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

moving PATHS and make them dependent on XDG_* env variables #88

Closed SGSSGene closed 5 years ago

SGSSGene commented 5 years ago

This PR is supposed to fix #45 and both issues in #74

== Moving Paths Instead of using ~/.config/cppman and ~/.local/share/man now XDG_* env variables are being used: $XDG_CONFIG_HOME/cppman (= ~/.config/cppman) $XDG_CACHE_HOME/cppman (= ~/.cache/cppman)

Following things have moved: ~/.config/cppman/cppman.cfg → $XDG_CONFIG_HOME/cppman/cppman.cfg ~/.config/cppman/index.db → $XDG_CACHE_HOME/cppman/index.db ~/.local/share/man/* → $XDG_CACHE_HOME/cppman/

== Fix and Extend .manpath This also adds another entry to "~/.mandb" to allow indexing of man pages and searching. (need to call mandb to successfully index entries)

Also cppman -k false now removes the entries from .manpath