ok-borg / borg

Search and save shell snippets without leaving your terminal
Apache License 2.0
1.61k stars 58 forks source link

borg doesn't use $HOME/.config if $XDG_CONFIG_HOME is not set #47

Closed come-maiz closed 7 years ago

come-maiz commented 7 years ago

According to this: https://standards.freedesktop.org/basedir-spec/latest/ar01s03.html

"If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used."

In that case, borg is using $HOME/.borg instead, which makes it not comply with XDG.