Unverified50% confidenceSolutionExact time
Sorcerer obtains and caches the user's PATH by launching an interactive login shell (zsh -ilc), with a 5-second timeout to prevent the shell from hanging.
1
Sources
50%
Confidence
Long-term
Relevance
10/19/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedOn macOS since 10.15, the HUP option of the default login shell zsh is on by default, sending SIGHUP to running jobs when the shell exits.63% similarUnverifiedThe parameter expansion syntax ${path##*/} built into Bash and Zsh can achieve the same effect as basename and eliminates subprocess overhead in loop scenarios.60% similarUnverifiedShell glob expansion is completed before command execution, so programs like sed see the expanded real paths rather than the original strings containing wildcards.57% similarUnverifiedThe blogger and a friend audited all the tool calls the Agent executed on the local machine and found that the bash commands Claude wrote for the zsh environment were often incompatible, resulting in a relatively high error rate.56% similarUnverifiedThe root cause of ~ sometimes working and sometimes failing in PATH is that it can only be expanded when some intermediate link happens to invoke the shell to handle it.56% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1070793API
curl https://kongchang.com/api/v1/knowledge/claims/1070793MCP
get_claim(id=1070793)