babarot / gomi

🗑️ Replacement for UNIX rm command!
https://babarot.me/gomi
MIT License
317 stars 13 forks source link

feat: support XDG_CONFIG_HOME variable #34

Open marianozunino opened 1 year ago

marianozunino commented 1 year ago

The XDG_CONFIG_HOME environment variable is defined by the FreeDesktop.org Base Directory specification, which aims to provide a unified and consistent way for applications to store user-specific data. By using this environment variable, gomi is following the specification, which helps prevent cluttering the user's home directory with configuration files.

Instead, gomi will create its own subdirectory within the directory specified by XDG_CONFIG_HOME. This ensures that the user's home directory remains organized and tidy, and makes it easier for users to manage and locate application-specific configuration files.