Danilo Bargen

Results 535 comments of Danilo Bargen

Ahh, it seems I already started the work last year(!) and then it got stuck: https://github.com/dbrgn/tealdeer/pull/298 I'll try to finish that.

We currently download the archive from tldr.sh (https://tldr.sh/assets/tldr.zip) which is generated through GitHub AFAIK. This archive contains all languages and cannot be filtered. As long as the TLDR pages project...

Hmm, when setting relative paths, what would they be relative to? Actually the `TEALDEER_CACHE_DIR` is something that is a leftover from when IIRC we didn't even have a config file....

Hi, thanks for the PR. Some questions before I take a closer look: - In the base configuration (if no XDG variables are set), will this use the same directories...

@utkarshgupta137 thanks for your work so far. Do you plan to carry on with this PR? If yes, it would need to be updated as per https://github.com/dbrgn/tealdeer/issues/311#issuecomment-1937787422

Hmm, XDG is a Freedesktop-Specification, and thus explicitly Linux-specific. Does it make sense to apply XDG-variables to macOS as well? Isn't there some kind of standard for macOS, regarding configurability...

We're currently using the [app_dirs2 crate](https://docs.rs/app_dirs2/) for determining the app directory. This library currently does not take into account XDG env vars on macOS. Maybe you could ask there for...

Anyways, since XDG variables aren't supported at the moment: You can set `TEALDEER_CONFIG_DIR=/home/d12bb/.config/tealdeer/` and then create a config file at `~/.config/tealdeer/config.toml` which sets the cache and pages directories: https://dbrgn.github.io/tealdeer/config_directories.html#cache_dir The...

Hmm, there are now two discussion topics in this thread. **Question 1: If `XDG_*` variables are set on macOS, should they be used?** I'm not a macOS user myself and...

@niklasmohrin updated! Should be ready now, I think.