Be more standards-compliant about .klog/
folder location
#250
Labels
ENHANCEMENT
Ideas and feature requests
.klog/
folder location
#250
Currently, klog stores the
.klog/
folder in the user’s home directory – i.e.,~
on UNIX, andC:\Users\yourname
on Windows. That might not be the most appropriate location, though:~/.config
or something else~/Library/Application Support
, but I think that’s primarily targeted at GUI apps. CLI apps tend to use~/
or~/.config
.%AppData%
points toSo before releasing the config file with a half-hearted and home-baked lookup mechanism, it’s now a good time to revise this topic. For consideration:
$XDG_CONFIG_HOME
(from the freedesktop directory standard) is mostly a thing for Linux, but it’s also not universal there.os.UserConfigDir
. The underlying proposal doesn’t seem well thought-through, however, especially in regards to macOS.KLOG_FOLDER_LOCATION
to allow users to override the general config location with a klog-specific path. Apart from the clunky name, I’m not 100% sure this is needed: one the one hand, there is no unanimous and universal standard for storing config files, so an app-specific override might come handy; on the other hand, such fine-granularity might be superfluous and unnecessarily complicated.Changing the config location will be a breaking change, and users might have to relocate their
bookmarks.json
file (if exists).The text was updated successfully, but these errors were encountered: