Skip to content

Make .gitignore.d & gitattributes.d XDG compatible #180

Open
@nfarrar

Description

@nfarrar

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions