You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closesigrigorik#285.
Support the XDG base directory specification
(https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)
by moving the following files:
$HOME/.vimgolf/config.yaml --> {$XDG_CONFIG_HOME OR $HOME/.config}/vimgolf/config.yaml
$HOME/.vimgolf/put/* --> {$XDG_CACHE_HOME OR $HOME/.cache}/vimgolf/*
If the old directory (~/.vimgolf) exists, grab the key from there,
remove ~/.vimgolf and create the two xdg directories from above.
It would be great if this followed the XDG Base Dir Spec instead of dumping the config files in
$HOME
.https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
$XDG_CONFIG_HOME/vimgolf/config
should be the default home of the config, and the leftover data should go in$XDG_CACHE_HOME/vimgolf/put/*
I believe all these changes should be made in
lib/vimgolf/lib/vimgolf/config.rb
The text was updated successfully, but these errors were encountered: