Commit 88d14d3
Added XDG Base Directory support (#103)
* feat(config.go): xdg base directory support
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.
* Updated README.md to reflect previous changes.
---------
Co-authored-by: Jeff Lanzarotta <jlanzarotta@matw.com>1 parent 4712cfa commit 88d14d3
2 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
45 | 58 | | |
46 | 59 | | |
47 | 60 | | |
| |||
0 commit comments