Tldr: Request: conform to XDG basedir spec

Created on 10 May 2016  路  2Comments  路  Source: tldr-pages/tldr

https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Presently, it is writing to ~/.tldrc and is not respecting XDG_CONFIG_HOME or XDG_CACHE_HOME or XDG_DATA_HOME. I'm not sure how much of the directory is config vs cache vs data, so I don't know which xdg directories it should be written to. But none of it should be in ~.

clients

Most helpful comment

If you really care about it, you can use tealdeer, which adheres to the XDG BaseDir spec. Take note that it is written in Rust, so you'll need a Rust compiler installed to build it.

Disclaimer, I'm a contributor to the project.

All 2 comments

If you really care about it, you can use tealdeer, which adheres to the XDG BaseDir spec. Take note that it is written in Rust, so you'll need a Rust compiler installed to build it.

Disclaimer, I'm a contributor to the project.

@SShrike and @jasonkarns, this is something we might include in the client spec that is being defined at #1065. Please comment there if you think it should be enforced for all clients, or not.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

endearingyoungcharms picture endearingyoungcharms  路  3Comments

zlatanvasovic picture zlatanvasovic  路  3Comments

michaeldbianchi picture michaeldbianchi  路  3Comments

taki picture taki  路  3Comments

hrai picture hrai  路  3Comments