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

Search for .zprintrc in XDG_CONFIG_HOME #291

Open
lunik1 opened this issue Feb 16, 2023 · 1 comment
Open

Search for .zprintrc in XDG_CONFIG_HOME #291

lunik1 opened this issue Feb 16, 2023 · 1 comment

Comments

@lunik1
Copy link

lunik1 commented Feb 16, 2023

It would be nice if zprint followed the XDG base directory specification on Linux by searching e.g. $XDG_CONFIG_HOME/zprint/zprintrc as well as $HOME/.zprintrc for a configuration file. This standard is followed by many common linux programs (git, emacs, htop, and tmux to name a few), avoids cluttering $HOME with dotfiles, and groups all config into one easily backupable directory.

@kkinnear
Copy link
Owner

Thanks for the idea. I'm not primarily a Linux user, so I managed to miss out on all of this XDG stuff. I'll look into it, and see if I can figure out how to use it in some way that doesn't cause serious headaches for existing users. From a cursory look, I think that should be possible.

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

No branches or pull requests

2 participants