Skip to content

Follow XDG spec on windows #1498

Open
@dsisnero

Description

@dsisnero

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

extrawurst commented on Jan 8, 2023

@extrawurst
Collaborator

sounds plausible. should be an easy change. are you willing to make a PR?

added this to the v0.23 milestone on Jan 8, 2023
pm100

pm100 commented on Apr 14, 2023

@pm100
Contributor

@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

removed this from the v0.23 milestone on Apr 22, 2023
stale

stale commented on Dec 15, 2023

@stale

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.

linked a pull request that will close this issue on Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dormantMarked by stale bot on closefeature-requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Follow XDG spec on windows · Issue #1498 · gitui-org/gitui