zprint icon indicating copy to clipboard operation
zprint copied to clipboard

Search for .zprintrc in XDG_CONFIG_HOME

Open lunik1 opened this issue 1 year ago • 1 comments

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.

lunik1 avatar Feb 16 '23 22:02 lunik1

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.

kkinnear avatar Feb 17 '23 18:02 kkinnear