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

[feat] Read configuration from XDG_CONFIG_HOME #17

Open
simonmysun opened this issue Aug 2, 2024 · 0 comments
Open

[feat] Read configuration from XDG_CONFIG_HOME #17

simonmysun opened this issue Aug 2, 2024 · 0 comments
Labels
enhancement New feature or request v0.2

Comments

@simonmysun
Copy link
Owner

simonmysun commented Aug 2, 2024

As suggested by llimllib/gpt-bash-cli#7 (also in Hacker News discussion), it's better to read configuration files from XDG_CONFIG_HOME to follow the XDG Base Directory Specification
.

Currently ell is engaging ~/.ellrc and ~/.ellrc.d. This makes it difficult for users to manage their home directory. Adapting XDG Base Directory Specification will make it more organized.

In the document, the default install path should be changed to ~/.local/lib/package/, and a link to the entry script should be added to ~/.local/bin/.

This makes the installing process more complex but following contemporary standard.

I'm not considering ell as a system wide application so it will not read from XDG_CONFIG_DIRS.

@simonmysun simonmysun added the enhancement New feature or request label Aug 2, 2024
@simonmysun simonmysun changed the title [feat] Read configuration from XDG_DATA_HOME [feat] Read configuration from XDG_CONFIG_HOME Aug 3, 2024
@simonmysun simonmysun added the v0.2 label Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v0.2
Projects
None yet
Development

No branches or pull requests

1 participant