Open
Description
Is your feature request related to a problem? Please describe.
I use windows and have set XDG_CONFIG dirs (XDG_CONFIG_HOME, XDG_CACHE_HOME) but gitui isn't honoring them
Describe the solution you'd like
If XDG_CONFIG_HOME is set on any os, use XDG_CONFIG_HOME/gitui as directory for config file. If it is not set, fall back to os default
Activity
extrawurst commentedon Jan 8, 2023
sounds plausible. should be an easy change. are you willing to make a PR?
pm100 commentedon Apr 14, 2023
@dsisnero what XDG_XXX_HOME settings were not working for you. Most of the git plumbing is done by a common git library (libgit2) that does obey XDG on all platforms, including windows.
gitui has a couple of places itself where is does not check where it should or could but thats very limited (location of generated log file, location of keyboard mapping file)
I can fix those but want to be sure I have not missed something
stale commentedon Dec 15, 2023
This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.