lord63 / tldr.py

A python client for tldr: simplified and community-driven man pages.
MIT License
186 stars 18 forks source link

Added support for XDG_COFIG_HOME #41

Closed mayanksuman closed 4 years ago

mayanksuman commented 6 years ago

If XDG_COFIG_HOME is set on the machine then make the config inside it. Otherwise the config file is made in ~/.config/. Default config file name has changed to tldr.py.conf

codecov-io commented 6 years ago

Codecov Report

Merging #41 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #41   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           4      4           
  Lines         158    158           
=====================================
  Hits          158    158
Impacted Files Coverage Δ
tldr/cli.py 100% <ø> (ø) :arrow_up:
tldr/config.py 100% <ø> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 73cf9f8...48cfda4. Read the comment docs.

lord63 commented 4 years ago

Closed, this is a break change, you can specify TLDR_CONFIG_DIR environment variable to set config dir.