Skip to content

fix(paths): the tab's own folder is never a link found from a shown folder (core 0.40.7) - #227

Merged
Maxaubert merged 1 commit into
mainfrom
fix/path-own-folder
Oct 15, 2026
Merged

Maxaubert merged 1 commit into
mainfrom
fix/path-own-folder

Conversation

@Maxaubert

Copy link
Copy Markdown
Owner

Owner, 2026-10-15: "the status line in claude code which shows which folder im working in has become a link i dont want that".

Caused by #221. Claude Code's status line prints the tab's folder relative to Documents\Claude (Github-loftspace/Stutter-Diagnostics). Once the tab had shown a full path under Documents\Claude, a shown folder above it resolved that text to the folder the shell is in, and it lit on every redraw.

Fix: a FOLDER found from a shown folder that is the shell's own folder, or one above it, is skipped (holdsCwd), the same reason the prompt is left alone. Paths found from the shell's own folder, and files, are unchanged.

Tests: 2 new unit tests (fail without the fix, pass with it); unit suite 2137 pass. Core 0.40.6 -> 0.40.7, app 0.52.1 -> 0.52.2.

🤖 Generated with Claude Code

https://claude.ai/code/session_017XYVRPzvhLpPCr75uB6uaA

…older (core 0.40.7)

Owner, 2026-10-15: "the status line in claude code which shows which folder
im working in has become a link i dont want that". Claude Code's status line
prints the tab's folder as Github-loftspace/Stutter-Diagnostics; since #221 a
shown folder above it (Documents\Claude) resolved that to the folder the shell
is in. A folder found from a shown folder that is the shell's own folder, or
one above it, is now skipped, as the prompt already is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017XYVRPzvhLpPCr75uB6uaA
@Maxaubert
Maxaubert merged commit b15cfac into main Oct 15, 2026
2 checks passed
@Maxaubert
Maxaubert deleted the fix/path-own-folder branch October 15, 2026 09:39
github-actions Bot pushed a commit that referenced this pull request Oct 15, 2026
…older (core 0.40.7) (#227)

Owner, 2026-10-15: "the status line in claude code which shows which folder
im working in has become a link i dont want that". Claude Code's status line
prints the tab's folder as Github-loftspace/Stutter-Diagnostics; since #221 a
shown folder above it (Documents\Claude) resolved that to the folder the shell
is in. A folder found from a shown folder that is the shell's own folder, or
one above it, is now skipped, as the prompt already is.


Claude-Session: https://claude.ai/code/session_017XYVRPzvhLpPCr75uB6uaA

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant