lean-ctx icon indicating copy to clipboard operation
lean-ctx copied to clipboard

feat: Use consistent file path format for `lean-ctx doctor` on Linux (`/home/<username>` -> `~`)

Open teadatuntud opened this issue 5 months ago • 2 comments

Problem: lean-ctx doctor produces a report where some file paths are in the format of /home/<username>/... while others are ~/... (examples, seemingly). It's inconsistent.

Proposed solution: Replace all instances of /home/<username>/... with ~/.... Consistent and much more compact. Also saves me the trouble of having to redact my username when pasting bug reports here :)

Alternatives considered:

Additional context: Execute lean-ctx doctor and observe the inconsistent file path formats used.

teadatuntud avatar Jun 16 '26 08:06 teadatuntud

thanks for all the reports. you're going wild! :) I like!

yvgude avatar Jun 16 '26 08:06 yvgude

Fixed in v3.8.8. lean-ctx doctor now renders ~ instead of the absolute home path consistently across its checks.

Release: https://github.com/yvgude/lean-ctx/releases/tag/v3.8.8

yvgude avatar Jun 17 '26 00:06 yvgude