<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Fish Shell on Bruce AI 工程笔记</title><link>http://www.heyuan110.com/zh/tags/fish-shell/</link><description>Recent content in Fish Shell on Bruce AI 工程笔记</description><generator>Hugo</generator><language>zh</language><lastBuildDate>Sat, 18 Apr 2026 10:00:00 +0800</lastBuildDate><atom:link href="http://www.heyuan110.com/zh/tags/fish-shell/index.xml" rel="self" type="application/rss+xml"/><item><title>fish shell 4.6 实测：最舒服的交互 shell，但别当默认</title><link>http://www.heyuan110.com/zh/posts/linux/2026-04-18-fish-shell-rust-2026/</link><pubDate>Sat, 18 Apr 2026 10:00:00 +0800</pubDate><guid>http://www.heyuan110.com/zh/posts/linux/2026-04-18-fish-shell-rust-2026/</guid><description>&lt;p&gt;&lt;img src="http://www.heyuan110.com/posts/linux/2026-04-18-fish-shell-rust-2026/cover.webp"
 alt="fish shell 4.6 Rust 重写实测 2026"
 
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 width="1200"
 height="630"
/&gt;
&lt;/p&gt;
&lt;p&gt;先把结论写在最前面。&lt;strong&gt;fish shell 4.6（2026 年 3 月 28 日发布）是我用过最舒服的交互 shell，但 2026 年它不应该当你的默认 shell。&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;这两句话不矛盾。整篇文章就是在说为什么——以及那个能同时吃到两边好处的&amp;quot;双 shell 架构&amp;quot;长什么样。&lt;/p&gt;
&lt;p&gt;我从 2025 年 2 月 fish 4.0 Rust 重写发布起，把 zsh + Oh My Zsh 换成 fish 跑了九个月。每个点发布都升级到最新版，把 Claude Code 的每一个 fish 相关 GitHub issue 都翻过一遍。最后我回到了一个混合方案：fish 管交互，zsh 管 agent。这篇是那个过程的浓缩总结，附上我踩过的每一个坑的复现方法。&lt;/p&gt;
&lt;h2 id="fish-从-40-到-46-到底变了什么"&gt;fish 从 4.0 到 4.6 到底变了什么&lt;a href="#fish-%e4%bb%8e-40-%e5%88%b0-46-%e5%88%b0%e5%ba%95%e5%8f%98%e4%ba%86%e4%bb%80%e4%b9%88" class="anchor" aria-hidden="true"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
 stroke-linecap="round" stroke-linejoin="round"&gt;
 &lt;path d="M15 7h3a5 5 0 0 1 5 5 5 5 0 0 1-5 5h-3m-6 0H6a5 5 0 0 1-5-5 5 5 0 0 1 5-5h3"&gt;&lt;/path&gt;
 &lt;line x1="8" y1="12" x2="16" y2="12"&gt;&lt;/line&gt;
 &lt;/svg&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;2026 年还在讨论 fish，根本原因是 Rust 重写。fish 4.0 在 2025 年 2 月 27 日发布，背后是&lt;strong&gt;两年工期、2600+ commits、200+ 贡献者&lt;/strong&gt;——接近全量重写。fish 官方复盘里的几个硬数字：&lt;/p&gt;</description></item></channel></rss>