Hello, With the proposed patch, interactively running hx --help just display "$HOME/.cache" without resolving the variable.
Looking deeper in the source code, it appears that helix reads the XDG_CACHE_HOME environment variable, but the crate used to do that (https://crates.io/crates/etcetera) requires the value to be a syntaxically valid absolute path. However, according to my tests, the path does not need to really exists. So I think a better approach would be to define this variable during man page generation, to something like '/home/\$USER/.cache'. The advantage is that the source code remains unchanged, and so does the program behavior. And I also imagine that defining an env var in a debian specific build script would need less maintenance work, in the long term, than a patch on upstream code. Regards, Sylvain

