Skip to content

Commit 1956af4

Browse files
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: pontus <170570911+pontusringblom@users.noreply.github.com>
1 parent 14d24a6 commit 1956af4

1 file changed

Lines changed: 4 additions & 4 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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ import { BlogWrapper } from "../../Blog.style.js";
2323
import { Link } from "gatsby";
2424
import Blockquote from "../../../../reusecore/Blockquote";
2525
import CTA_FullWidth from "../../../../components/Call-To-Actions/CTA_FullWidth";
26-
import CTAImg from "../../../../assets/images/layer5/5 icon/png/light/5-light-no-trim.webp";
26+
import CTAImg from "../../../../assets/images/layer5/5 icon/png/light/5-light-bg.webp";
2727

2828
<BlogWrapper>
2929

30-
<div class="intro">
30+
<div className="intro">
3131
<p>
3232
You type <code>gh pr list</code> in your terminal and it works perfectly. You ask Claude Code to
3333
do the same, and it replies: <em>"command not found: gh"</em>. Your Go toolchain, nvm, pyenv,
@@ -130,7 +130,7 @@ The `-i` flag forces an interactive shell, which sources `~/.zshrc`. If `zsh -c
130130
`gh not found` but `zsh -i -c 'which gh'` prints the correct path, your PATH export is in
131131
`~/.zshrc` and you have confirmed the root cause.
132132

133-
<div class="note">
133+
<div className="note">
134134
<strong>Quick diagnosis:</strong> Run <code>zsh -c 'which gh'</code> (no <code>-i</code> flag).
135135
If this fails but <code>which gh</code> in your normal terminal works, your PATH is only set in
136136
<code>~/.zshrc</code>. Move the relevant exports to <code>~/.zshenv</code> to fix it.
@@ -194,7 +194,7 @@ Moving everything to `~/.zshenv` is not the right answer. Some configuration sho
194194
`~/.zshrc` because it only makes sense in interactive contexts or because it has side effects
195195
that slow down non-interactive shells unnecessarily.
196196

197-
<div class="tip">
197+
<div className="tip">
198198
<strong>Guiding principle:</strong> If it is an environment variable that a program needs to
199199
find another program, it belongs in <code>~/.zshenv</code>. If it is a user-facing customization
200200
for your interactive terminal experience, it belongs in <code>~/.zshrc</code>.

0 commit comments

Comments
 (0)