Support XDG base directory specification for ~/.vls
yochem opened this issue · comments
Yochem van Rosmalen commented
To declutter the home directory, it would be nice to respect the XDG base directory environment variables ($XDG_CONFIG_HOME, $XDG_CACHE_HOME, $XDG_DATA_HOME, $XDG_STATE_HOME), instead of writing to ~/.vls. Another option would be to use v's os.config_dir()
and os.cache_dir()
if it's just config or cache files (but I think it are logs, which should go in xdg's state directory).