-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
I'm trying to adopt the XDG Base Directory Specification across all my OSes for consistency and easier management of dotFiles across the various OSes.
In my PowerShell profile I have environment variables set to mimic the XDG spec.
# Set XDG Base Directory Specification paths
# https://specifications.freedesktop.org/basedir-spec/latest/
# https://wiki.archlinux.org/title/XDG_Base_Directory
$Env:XDG_CONFIG_HOME="$Env:USERPROFILE\.config"
$Env:XDG_CACHE_HOME="$Env:USERPROFILE\.cache"
$Env:XDG_DATA_HOME="$Env:USERPROFILE\.local\share"
$Env:XDG_STATE_HOME="$Env:USERPROFILE\.local\state"
Since XDG is being followed on Linux if XDG_DATA_HOME is set, could the same logic be applied to Windows?
Proposed Solution
Allow checking for XDG variables on multiple OSes.
Alternatives Considered
I could set $Env:DTVEM_ROOT to something like $Env:XDG_DATA_HOME\dtvem before installing.
Feature Category
Configuration/settings
How important is this feature to you?
Medium - Nice to have
Use Case
No response
Benefits
No response
Additional Context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request