vcsh
vcsh copied to clipboard
Make .gitignore.d & gitattributes.d XDG compatible
Vcsh currently reads the ignore & attribute data from files located at $VCSH_BASE/.gitignore.d/$VCSH_REPO_NAME
and $VCSH_BASE/.gitattributes.d/$VCSH_REPO_NAME
(respectively). I prefer to keep $HOME
as uncluttered as possible and organize application configurations into application-specific configuration directories (using the XDG) specification defaults:
$XDG_CONFIG_HOME/vcsh/.gitignore.d/$VCSH_REPO_NAME
$XDG_CONFIG_HOME/vcsh/.gitattributes.d/$VCSH_REPO_NAME
Would it be possible to add support for these paths?
Just checking back in. Any chance to get support for these? :)
I tested the patch provided by @miramir (#203). This works for me.
It would be nice of course, to have $XDG_CONFIG_HOME as the default for the variables for newly created vcsh-repositories.
What is the state of this request?
See also my comments in #203, I would like to see this fixed too, although issues of migration are of course sensitive.