XDG_CONFIG_HOME to ~/.config if not set #29
oSoWoSo/xut:config into master 5a8b3ed9e6
to d33d982c04
I am not sure what that accomplishes...
If XDG_CONFIG_HOME is not set default to ~/.config
So xutconf can be in:
- $HOME
- $XDG_CONFIG_HOME if set
- or $HOME/.config if not $XDG_CONFIG_HOME set
That just complicates things :(
It may be better to just leave $HOME/xutconf as an option than to add a third possible location for the conf file.
Don't see any complication
I expecting XDG_CONFIG_HOME be $HOME/.config most of the time anyway so...
@zenobit wrote in #29 (comment):
Don't see any complication I expecting XDG_CONFIG_HOME be $HOME/.config most of the time anyway so...
$HOME is always $HOME :P
The issue arises already when suddenly, after a user installs or enables something that defines XDG_CONFIG_HOME everything clones again and their repos are absent...
Maybe the checks should change - first check for $HOME/xutconf, then for $XDG_CONFIG_HOME/xutconf.
I believe that fixes the issue...
My preffered place is ONLY ~/.config
Don't like cluttering $HOME with any files...
My preffered place is ONLY ~/.config
Don't like cluttering $HOME with any files...
I m not making xut for myself only - same issue with xlint and proper version/revision strings.
$HOME/.configfile was a de-facto standard, the XGD way is more of a documented one. I want to offer both with as fewer issues as possible.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?