Follow the XDG Base Directory Specification
Wsine opened this issue ยท 5 comments
Expected behaviour
Move the default config file location to ${XDG_CONFIG_HOME:-$HOME/.config}/tldr/tldrrc
Also move the default cache file location to ${XDG_CACHE_HOME:-$HOME/.cache}/tldr
Actual behaviour
Current config file location $HOME/.tldrrc
Current cache file location $HOME/.tldr/cache
Environment
- Operating system - OSX/Linux
This will probably have to go into 4.0.0 as it's a breaking change. Or maybe we can search for both paths for the config file and cache directory.
This will probably have to go into 4.0.0 as it's a breaking change. Or maybe we can search for both paths for the config file and cache directory.
I'm definitely in support both camp because not everyone agrees on XDG and breaking changes should be avoided unless they are absolutely neccessary.
@bl-ue I don't really care about label names but picking bug is problematic because Refined Github lists them in another tab ๐
No problem. Yeah, refined GitHub is pretty cool, but there were some UI quirks that I didn't like, but I guess that with the amount of features it provides I'll keep it.
By the way, how did you figure out to get that #:~:text=...
stuff in the URL? I've seen it before but not from human-typed links like that.
but there were some UI quirks that I didn't like, but I guess that with the amount of features it provides I'll keep it.
Same here. FWIW they have a ton of customization options plus they are pretty responsive and welcoming to constructive feedback.
By the way, how did you figure out to get that
#:~:text=...
stuff in the URL? I've seen it before but not from human-typed links like that.
Sooner or later I'll reveal all of my tricks ๐ https://github.com/GoogleChromeLabs/link-to-text-fragment