Skip to content

Added XDG Base Directory support - #103

Merged
shipengqi merged 2 commits into
shipengqi:mainfrom
jlanzarotta:main
Nov 21, 2024
Merged

shipengqi merged 2 commits into
shipengqi:mainfrom
jlanzarotta:main

Conversation

@jlanzarotta

Copy link
Copy Markdown
Contributor

Added support for XDG Base Directory. If the XDG_CONFIG_HOME environment variable is set, look in the XDG_CONFIG_HOME/commitizen directory for the .czrc configuration file. The order of operation is, look in the current repo directory, then user's home directory, and the XDG_CONFIG_HOME/commitizen directory. If no configuration file is found, look in ~/.config/commitizen.

Jeff Lanzarotta added 2 commits November 14, 2024 10:22
Added support for XDG Base Directory.  If the XDG_CONFIG_HOME environment variable is set, look in the XDG_CONFIG_HOME/commitizen directory for the .czrc configuration file.  The order of operation is, look in the current repo directory, then user's home directory, and the XDG_CONFIG_HOME/commitizen directory.  If no configuration file is found, look in ~/.config/commitizen.
@shipengqi shipengqi added the documentation Improvements or additions to documentation label Nov 14, 2024
@shipengqi

Copy link
Copy Markdown
Owner

@jlanzarotta Thanks for your contribution.

@shipengqi
shipengqi merged commit 88d14d3 into shipengqi:main Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants