Skip to content

Commit 9e4c916

Browse files
committed
Merge branch 'blog/claude/non-interactive-shell' of https://github.com/layer5io/layer5 into blog/claude/non-interactive-shell
Signed-off-by: Yi Nuo <218099172+yi-nuo426@users.noreply.github.com>
2 parents 11bee19 + b45eb5e commit 9e4c916

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

  • src/collections/blog/2026/03-09-why-claude-code-cant-find-your-tools

src/collections/blog/2026/03-09-why-claude-code-cant-find-your-tools/index.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ published: true
1717
resource: true
1818
---
1919

20-
{/* TODO: Add thumbnail image at ./claude-code-shell-path.png */}
2120

2221
import { BlogWrapper } from "../../Blog.style.js";
2322
import { Link } from "gatsby";
@@ -166,11 +165,7 @@ zsh -c 'which node'
166165
Moving everything to `~/.zshenv` is not the right answer. Some configuration should stay in `~/.zshrc` because it only makes sense in interactive contexts or because it has side effects that slow down non-interactive shells unnecessarily.
167166

168167
<div className="tip">
169-
<p>
170-
<strong>Guiding principle:</strong> If it is an environment variable that a program needs to
171-
find another program, it belongs in <code>{"~/.zshenv"}</code>. If it is a user-facing customization
172-
for your interactive terminal experience, it belongs in <code>{"~/.zshrc"}</code>.
173-
</p>
168+
<strong>Guiding principle:</strong> If it is an environment variable that a program needs to find another program, it belongs in <code>~/.zshenv</code>. If it is a user-facing customization for your interactive terminal experience, it belongs in <code>~/.zshrc</code>.
174169

175170
<p><strong>Keep in <code>{"~/.zshenv"}</code>:</strong></p>
176171
<ul>

0 commit comments

Comments
 (0)