-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
Like briefly mentioned in #329, the current config path is a custom arbitrary one: ~/.sqlcmd/sqlconfig as explained in the documentation.
However having ~2000 "dotfiles" and "dotfolders" in $HOME is a bit anoying and messy.
That is why I suggest implementing a XDG compliant config deployment.
- Specs: XDG Base Directory Specification
- Env vars: XDG_CONFIG_HOME (default to $HOME/.config for users) and XDG_CONFIG_DIRS (default to /etc/xdg for system)
- Go libs: go-appdir (archived) - configdir (abandoned) - kyoh86/xdg (archived) - adrg/xdg (up to date)
The idea would be to have ~/.config/sqlcmd/sqlcmd instead of the legacy ~/.sqlcmd/sqlconfig (that could be kept as fallback for retro-compatibility).
Metadata
Metadata
Assignees
Labels
No labels