Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIKI REQUEST]: .config directory, Please add instructions on how to alter its location. #6165

Open
EdenWise opened this issue Oct 2, 2024 Discussed in #6160 · 0 comments

Comments

@EdenWise
Copy link

EdenWise commented Oct 2, 2024

Discussed in #6160

Originally posted by EdenWise September 29, 2024

I made an edit to the wiki but I just found out that the Scoop wiki is private (i.e. I am unable to fork the wiki and submit the change as a pull request). The edit is pretty simple. I added a new page called .config-Directory-Relocate.md with this content:

### .config Directory Relocate

Scoop keeps track of the previous update time in the home directory in a directory called `.config`. By default this location in Windows is at `$env:USERPROFILE\.config` and on Linux it is at `~/.config`. This location can be altered by adding or editing the `$XDG_CONFIG_HOME` variable to the environment.

For Windows, one way to do this, for the current user is to add it the registry and then to restart the shell:

    Set-ItemProperty -Path HKCU:\Environment -Name XDG_CONFIG_HOME -Value C:\Path\to\Desired\Location

I got the information from here and have tested it on Windows. Can someone add this content to the wiki please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant