-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLDR - C client does have an environment variable to select cache directory location #295
Comments
Is this feature only available in the C client? How can users determine which client they're using? |
Is this feature only available in the C client?Yes looks like it, despite being in the same GitHub account it looks like there are differences in specification between ports. tldr-c-client - uses tldr-python-client - already uses tldr-Node - doesn’t support XDG looks hardwired to tldrc (The Rust Client) - Uses the package How can users determine which client they're using?Good point and I bet there are already examples of this issue? There are a number of ways to identify scripts and binaries you could use with binaries there are other options for example Rust binaries have paths of If you need that then binary and script types should probably be a new feature for conditionals in the database just like OS type probably should be. could package manager detection and the package managers give this information? But this is probably getting too complex for the project. |
* add tuist (#272) * add cocoapods (#270) * add swiftpm (#269) * add missing newline to tuist.json * add ash (#283) * add help for expo * set correct android env vars (#32, #342) * add scriptkit (#297) * update xdg-utils message (#300) * fix ipython error in pythonrc (#289) * zsh directories need to be created manually (#341) * add instructions for dotnet (#349) * simplify emacs instructions (#315) * ash: directory must be created manually * add instructions for tldrc (#295) * add a warning for xinitrc and Xauthority (#274)
source
whilst the tldr c client doesnt use XDG it does look for the following environment variable to store the cache
TLDR_CACHE_DIR
This can be used, for example, to achieve
TLDR_CACHE_DIR=“$XDG_CACHE_HOME/tldrc”
source
The text was updated successfully, but these errors were encountered: