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

Support XDG_CONFIG_HOME and ZDOTDIR #4

Merged
merged 5 commits into from
Jul 19, 2022
Merged

Conversation

Aiz0
Copy link
Contributor

@Aiz0 Aiz0 commented Jul 16, 2022

This should get the correct config file even If a user has their config file in a different location.

I don't know if using os.environ['HOME'] has any disadvantages and os.path.expanduser('~') works fine so I reverted that commit.

Aiz0 and others added 5 commits July 17, 2022 00:09
zsh searches for .zshrc at $ZDOTDIR, if it's not set $HOME is used.
fish uses $XDG_CONFIG_HOME, if it's not set ~/.config/ is used
This reverts commit 938afb2.

I figure it makes no difference.
@El-Wumbus El-Wumbus merged commit 9d847c4 into dCaples:main Jul 19, 2022
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.

2 participants