Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for XDG_COFIG_HOME #41

Closed
wants to merge 2 commits into from

Conversation

mayanksuman
Copy link

@mayanksuman mayanksuman commented Aug 22, 2018

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

    default config file has name tldr.py.conf
@codecov-io
Copy link

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% <ø> (ø) ⬆️
tldr/config.py 100% <ø> (ø) ⬆️

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
Copy link
Owner

lord63 commented Jun 2, 2020

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

@lord63 lord63 closed this Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants