Comment by cerved 2 months ago Hey Boris, can you teach CC how to use cd? 3 comments cerved Reply jcheng 2 months ago Personally, CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR=1 made all my cd problems go away (which were only really in cmake-based projects to begin with). cerved 2 months ago So it does a forced reset of the dirt after each bash command? Does it confuse Claude? I frequently find it lacks path awareness of what it's working directory is jcheng 2 months ago That’s exactly what it does, I’ve found it completely un-confuses Claude Sonnet 4.5.
jcheng 2 months ago Personally, CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR=1 made all my cd problems go away (which were only really in cmake-based projects to begin with). cerved 2 months ago So it does a forced reset of the dirt after each bash command? Does it confuse Claude? I frequently find it lacks path awareness of what it's working directory is jcheng 2 months ago That’s exactly what it does, I’ve found it completely un-confuses Claude Sonnet 4.5.
cerved 2 months ago So it does a forced reset of the dirt after each bash command? Does it confuse Claude? I frequently find it lacks path awareness of what it's working directory is jcheng 2 months ago That’s exactly what it does, I’ve found it completely un-confuses Claude Sonnet 4.5.
jcheng 2 months ago That’s exactly what it does, I’ve found it completely un-confuses Claude Sonnet 4.5.
Personally, CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR=1 made all my cd problems go away (which were only really in cmake-based projects to begin with).
So it does a forced reset of the dirt after each bash command? Does it confuse Claude? I frequently find it lacks path awareness of what it's working directory is
That’s exactly what it does, I’ve found it completely un-confuses Claude Sonnet 4.5.