← Back to context Comment by cerved 2 days ago Hey Boris, can you teach CC how to use cd? 3 comments cerved Reply jcheng 2 days 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 21 hours 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 5 hours ago That’s exactly what it does, I’ve found it completely un-confuses Claude Sonnet 4.5.
jcheng 2 days 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 21 hours 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 5 hours ago That’s exactly what it does, I’ve found it completely un-confuses Claude Sonnet 4.5.
cerved 21 hours 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 5 hours ago That’s exactly what it does, I’ve found it completely un-confuses Claude Sonnet 4.5.
jcheng 5 hours 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.