Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cerved
68 days ago
|
parent
|
context
|
favorite
| on:
Ask HN: How can I get better at using AI for progr...
Hey Boris, can you teach CC how to use cd?
jcheng
68 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
67 days ago
|
parent
[–]
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
66 days ago
|
root
|
parent
[–]
That’s exactly what it does, I’ve found it completely un-confuses Claude Sonnet 4.5.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: