Skip to content

Commit 1d118be

Browse files
committed
blog css
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent 3acf52e commit 1d118be

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ import Callout from "../../../../reusecore/Callout";
111111
You can observe this yourself. Run these two commands and compare the output:
112112
</p>
113113

114-
```bash
114+
```shell
115115
# What a non-interactive shell sees
116116
zsh -c 'echo $PATH'
117117

@@ -146,7 +146,7 @@ echo $PATH
146146
Before changing anything, confirm the symptom. Use <code>zsh -c</code> to simulate what Claude Code sees:
147147
</p>
148148

149-
```bash
149+
```shell
150150
# Does Claude Code's shell see the tool?
151151
zsh -c 'which gh'
152152
zsh -c 'which go'
@@ -176,7 +176,7 @@ zsh -i -c 'which node'
176176
Open (or create) <code>{"~/.zshenv"}</code> and add your PATH exports there:
177177
</p>
178178

179-
```bash
179+
```shell
180180
# ~/.zshenv
181181
# Sourced for every zsh invocation — interactive, login, and non-interactive alike
182182

@@ -195,7 +195,7 @@ export PATH="$HOME/.local/bin:$PATH"
195195
For tools that inject themselves via an eval expression in <code>{"~/.zshrc"}</code> — such as <code>nvm</code>, <code>pyenv</code>, or <code>rbenv</code> — you need to move or duplicate that initialization into <code>{"~/.zshenv"}</code> as well:
196196
</p>
197197

198-
```bash
198+
```shell
199199
# ~/.zshenv — nvm initialization for non-interactive shells
200200
export NVM_DIR="$HOME/.nvm"
201201
[ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh" --no-use
@@ -214,7 +214,7 @@ eval "$(pyenv init --path)"
214214
After saving <code>{"~/.zshenv"}</code>, verify without restarting your terminal:
215215
</p>
216216

217-
```bash
217+
```shell
218218
# Reload .zshenv in your current shell
219219
source ~/.zshenv
220220

@@ -260,7 +260,7 @@ zsh -c 'which node'
260260
</p>
261261

262262
<ul>
263-
<li>CI/CD pipelines (GitHub Actions, GitLab CI) run commands in non-interactive shells. This is why you often see pipelines that explicitly <code>source ~/.bashrc</code> or set up PATH at the top of every job.</li>
263+
<li>CI/CD pipelines (GitHub Actions, GitLab CI) run commands in non-interactive shells. This is why you often see pipelines that explicitly <code>source ~/.shellrc</code> or set up PATH at the top of every job.</li>
264264
<li>Cron jobs run in minimal environments with almost no PATH set.</li>
265265
<li>VS Code integrated terminal tasks and <code>launch.json</code> configurations may use non-interactive shells depending on the operating system and configuration.</li>
266266
<li>SSH remote command execution (<code>ssh host 'command'</code>) uses a non-interactive shell unless you pass <code>-t</code> to force a TTY.</li>
@@ -282,7 +282,7 @@ zsh -c 'which node'
282282
Here is a starting point for a <code>{"~/.zshenv"}</code> that covers the most common developer tools on macOS. Adjust paths to match your actual installations:
283283
</p>
284284

285-
```bash
285+
```shell
286286
# ~/.zshenv
287287
# Sourced for ALL zsh shells — interactive, login, and non-interactive.
288288
# Keep this file fast and free of output-producing commands.
@@ -320,10 +320,10 @@ export LC_ALL="en_US.UTF-8"
320320
```
321321

322322
<p>
323-
With this in place, restart Claude Code (or any tool that spawns subshells) and run your verification:
323+
With this in place, restart Claude Code (or any tool that spawns subshells) and run your verification.
324324
</p>
325325

326-
```bash
326+
```shell
327327
zsh -c 'which gh && which go && which node'
328328
```
329329

@@ -351,12 +351,12 @@ zsh -c 'which gh && which go && which node'
351351
The same fix benefits CI pipelines, cron jobs, Makefiles, Docker builds, and any other context where commands run in a non-interactive shell environment.
352352
</p>
353353

354-
<hr />
355-
356-
<p>
357-
<em>
358-
Exploring AI-assisted development workflows and developer tooling? The <Link to="/community">Layer5 community</Link> is an active group of platform engineers, open source contributors, and DevOps practitioners. Join us on <a href="https://slack.layer5.io">Slack</a> to share what you are building and get help when you hit walls like this one. You can also follow the <Link to="/blog">Layer5 blog</Link> for more practical engineering posts.
359-
</em>
360-
</p>
354+
<div className="intro">
355+
<p>
356+
<em>
357+
Exploring AI-assisted development workflows and developer tooling? The <Link to="/community">Layer5 community</Link> is an active group of platform engineers, open source contributors, and DevOps practitioners. Join us on <a href="https://slack.layer5.io">Slack</a> to share what you are building and get help when you hit walls like this one. You can also follow the <Link to="/blog">Layer5 blog</Link> for more practical engineering posts.
358+
</em>
359+
</p>
360+
</div>
361361

362362
</BlogWrapper>

src/collections/blog/Blog.style.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ export const BlogWrapper = styled.div`
9292
margin-top: 0.75rem;
9393
margin-bottom: 0.75rem;
9494
}
95-
ul {
96-
margin-bottom: 0.75rem;
95+
ul,
96+
ol {
97+
margin-bottom: 1rem;
9798
}
9899
.to-uppercase {
99100
text-transform: uppercase;

0 commit comments

Comments
 (0)