id: 288a8fb1b6a24330aec86f6f02804e99
parent_id: 
item_type: 1
item_id: 44afe457059b4cd8b292b52a83b6a2d4
item_updated_time: 1764345513886
title_diff: "[{\"diffs\":[[1,\"Windows 也能玩出 Linux 味儿：让你的终端“起飞”的正确姿势\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":36}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>Windows 也能玩出 Linux 味儿：让你的终端“起飞”的正确姿势</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"content-class\\\" content=\\\"yinxiang.peso.superNote\\\"/>\\\r\\\n  <meta name=\\\"application-data:yinxiang.noteLayout\\\" content=\\\"{\\\"lineSpace\\\":\\\"recommend\\\",\\\"paragraphSpace\\\":\\\"recommend\\\"}\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"46719\\\"></a>\\\r\\\n<h1>Windows 也能玩出 Linux 味儿：让你的终端“起飞”的正确姿势</h1>\\\r\\\n\\\r\\\n<div><span style=\\\"margin:0px;\\\"><div style=\\\"padding:8px 0px;margin:8px auto;max-width:700px;\\\"> <div><span></span></div>\\\n<p></p>\\\n<div style=\\\"--en-blockquote:true;box-sizing: border-box; padding-left: 19px; padding-top: 6px; padding-bottom: 6px; border-left: 3px solid #b4c0cc; background-position: initial initial; background-repeat: initial initial; margin-top: 6px\\\"><div>原文链接: <a href=\\\"https://mp.weixin.qq.com/s?__biz=MzYyMjA3OTQ1Nw==&amp;mid=2247483661&amp;idx=1&amp;sn=256bf29586cd0fad1339f7c78e778372&amp;chksm=fe6e1e73da2a6ec1610904ab72a31e23e9e103ac619a3582503e854a19dcda16f44189d6761e&amp;mpshare=1&amp;scene=1&amp;srcid=0904ZgHPSkUVpD719q9AZakF&amp;sharer_shareinfo=6551bfd4e5ccd5206834e0229a74ed31&amp;sharer_shareinfo_first=6551bfd4e5ccd5206834e0229a74ed31#rd\\\"><span>https://mp.weixin.qq.com/s?__biz=MzYyMjA3OTQ1Nw==&amp;mid=224748...</span></a></div></div>\\\n<p></p>\\\n<div><span></span></div>\\\n<div style=\\\"\\\"><div><div><h1 style=\\\"margin:0\\\"> Windows 也能玩出 Linux 味儿：让你的终端“起飞”的正确姿势</h1><div><span style=\\\"position:relative\\\">原创</span><span> 人生控制台 </span><span><a style=\\\"position:relative\\\"> 人生控制台 </a></span><span><em></em></span></div><div style=\\\";\\\"><div style=\\\"margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: 0%;background-position-y: 0%;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima-Regular, Optima, PingFangTC-Light, PingFangSC-light, PingFangTC-light;font-size: 16px;color: rgb(43, 43, 43);line-height: 1.25;word-spacing: 0em;letter-spacing: 2px;word-break: break-word;overflow-wrap: break-word;text-align: left;\\\"><div style=\\\"text-align: center;\\\"><img src=\\\":/e36a28ac88464dfe99be5dd842e9809f\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;\\\"/></div><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span><br/></span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>经常有人会问：“平时天天用 Linux 下的 zsh + oh-my-zsh 吗？那在 Windows 上怎么办啊，总不能一直用死板的 cmd 吧？”</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>其实，Windows 下的 PowerShell 7 + Windows Terminal</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>完全能配出媲美 zsh 的体验，命令补全、历史搜索、模糊跳转、酷炫主题统统安排上！</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>今天就给大家分享一套“傻瓜式”配置流程，让你的 Windows 终端秒变生产力神器。</span></p><ol style=\\\"margin:0;list-style-type:decimal;margin-top:8px;margin-bottom:8px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:25px;padding-right:0;color:rgb(89,89,89);font-size:15px\\\"><li><div style=\\\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\\\"><span>为什么不用 zsh？</span></div></li></ol><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>说实话，Windows 上跑 zsh 要么靠 WSL，要么靠 Cygwin/MSYS2，麻烦不说，体验也不一定稳定。WSL 这玩意折腾过的都知道，坑是非常多的，在开发过程中也是，我就遇到过初始化一个taro项目，安装的依赖里@types 文件夹下是空的，导致我的包都有类型报错提示。找了各种办法，AI也是分析冒烟了也没解决。后来换到 powershell下重新安装依赖后就解决了</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>PowerShell 7 已经很强大，再加上社区模块和工具支持，完全能打造出媲美 oh-my-zsh 的效果。</span></p><ol start=\\\"2\\\" style=\\\"margin:0;list-style-type:decimal;margin-top:8px;margin-bottom:8px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:25px;padding-right:0;color:rgb(89,89,89);font-size:15px\\\"><li><div style=\\\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\\\"><span>准备工作</span></div></li></ol><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>首先你需要：</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>Windows Terminal（微软商店直接下载）</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>PowerShell 7（别用老掉牙的自带 PowerShell 5.1，去 GitHub 下新版）</span></p><ol start=\\\"3\\\" style=\\\"margin:0;list-style-type:decimal;margin-top:8px;margin-bottom:8px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:25px;padding-right:0;color:rgb(89,89,89);font-size:15px\\\"><li><div style=\\\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\\\"><span>装插件，补全才灵魂</span></div></li></ol><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>在 PowerShell 里执行：</span></p><pre style=\\\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;\\\"><span style=\\\"display: block;background: none;height: 30px;width: 100%;background-size: 40px;background-repeat: no-repeat;background-color: #282c34;margin-bottom: -7px;border-radius: 5px;background-position: 10px 10px;background-image: url(&quot;https://mmbiz.qpic.cn/mmbiz_svg/dxKEsjQBP4QxEMzFlC6jiaLlTWsBKib5pWr5TeAfKgzibPMcx3pFk3Vp887tJs3DlxaxJemMNDEMXadEYAf2leucwmLj4Mn3UK6/640?wx_fmt=svg&amp;from=appmsg&quot;);\\\"></span><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span>Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force</span><span><br/></span><span>Install-Module PSReadLine -Scope CurrentUser -Force   </span><span style=\\\"color: #5c6370;font-style: italic;line-height: 26px;\\\"><span># 命令补全 &amp; 历史预测</span></span><span><br/></span><span>Install-Module posh-git -Scope CurrentUser -Force     </span><span style=\\\"color: #5c6370;font-style: italic;line-height: 26px;\\\"><span># Git 状态提示</span></span><span><br/></span><span>Install-Module PSFzf -Scope CurrentUser -Force        </span><span style=\\\"color: #5c6370;font-style: italic;line-height: 26px;\\\"><span># 模糊搜索</span></span><span><br/></span><span>Install-Module z -Scope CurrentUser -Force            </span><span style=\\\"color: #5c6370;font-style: italic;line-height: 26px;\\\"><span># 快速目录跳转</span></span><span><br/></span></div></pre><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>光有这些模块还不够，有个大杀器一定要安排：</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><code style=\\\"letter-spacing: 0em;width: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background-image: initial;background-position-x: initial;background-position-y: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;background-color: rgba(59, 170, 250, 0.1);padding-top: 0px;padding-right: 3px;padding-bottom: 0px;padding-left: 3px;border-top-left-radius: 2px;border-top-right-radius: 2px;border-bottom-right-radius: 2px;border-bottom-left-radius: 2px;height: 21px;line-height: 22px;font-size: 15px;font-weight: 500;\\\"><span>winget install fzf</span></code></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>（fzf 是模糊搜索的灵魂，装完之后 Ctrl+R、Ctrl+T 就能起飞）</span></p><ol start=\\\"4\\\" style=\\\"margin:0;list-style-type:decimal;margin-top:8px;margin-bottom:8px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:25px;padding-right:0;color:rgb(89,89,89);font-size:15px\\\"><li><div style=\\\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\\\"><span>终端也要颜值</span></div></li></ol><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>Linux 世界里大家玩 powerlevel10k，在 Windows 我们有 </span><code style=\\\"letter-spacing: 0em;width: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background-image: initial;background-position-x: initial;background-position-y: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;background-color: rgba(59, 170, 250, 0.1);padding-top: 0px;padding-right: 3px;padding-bottom: 0px;padding-left: 3px;border-top-left-radius: 2px;border-top-right-radius: 2px;border-bottom-right-radius: 2px;border-bottom-left-radius: 2px;height: 21px;line-height: 22px;font-size: 15px;font-weight: 500;\\\"><span>oh-my-posh</span></code><span>：</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><code style=\\\"letter-spacing: 0em;width: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background-image: initial;background-position-x: initial;background-position-y: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;background-color: rgba(59, 170, 250, 0.1);padding-top: 0px;padding-right: 3px;padding-bottom: 0px;padding-left: 3px;border-top-left-radius: 2px;border-top-right-radius: 2px;border-bottom-right-radius: 2px;border-bottom-left-radius: 2px;height: 21px;line-height: 22px;font-size: 15px;font-weight: 500;\\\"><span>winget install JanDeDobbeleer.OhMyPosh -s winget</span></code></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>它可以帮你在终端显示 git 分支、时间、Python 虚拟环境等等，让终端不再冷冰冰。</span></p><ol start=\\\"5\\\" style=\\\"margin:0;list-style-type:decimal;margin-top:8px;margin-bottom:8px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:25px;padding-right:0;color:rgb(89,89,89);font-size:15px\\\"><li><div style=\\\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\\\"><span>一键配置</span></div></li></ol><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>所有配置都写在 </span><code style=\\\"letter-spacing: 0em;width: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background-image: initial;background-position-x: initial;background-position-y: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;background-color: rgba(59, 170, 250, 0.1);padding-top: 0px;padding-right: 3px;padding-bottom: 0px;padding-left: 3px;border-top-left-radius: 2px;border-top-right-radius: 2px;border-bottom-right-radius: 2px;border-bottom-left-radius: 2px;height: 21px;line-height: 22px;font-size: 15px;font-weight: 500;\\\"><span>$PROFILE</span></code><span>（相当于 Linux 的 </span><code style=\\\"letter-spacing: 0em;width: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background-image: initial;background-position-x: initial;background-position-y: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;background-color: rgba(59, 170, 250, 0.1);padding-top: 0px;padding-right: 3px;padding-bottom: 0px;padding-left: 3px;border-top-left-radius: 2px;border-top-right-radius: 2px;border-bottom-right-radius: 2px;border-bottom-left-radius: 2px;height: 21px;line-height: 22px;font-size: 15px;font-weight: 500;\\\"><span>~/.zshrc</span></code><span>）。</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>执行：</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><code style=\\\"letter-spacing: 0em;width: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background-image: initial;background-position-x: initial;background-position-y: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;background-color: rgba(59, 170, 250, 0.1);padding-top: 0px;padding-right: 3px;padding-bottom: 0px;padding-left: 3px;border-top-left-radius: 2px;border-top-right-radius: 2px;border-bottom-right-radius: 2px;border-bottom-left-radius: 2px;height: 21px;line-height: 22px;font-size: 15px;font-weight: 500;\\\"><span>notepad $PROFILE</span></code></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>贴入以下内容：</span></p><pre style=\\\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;\\\"><span style=\\\"display: block;background: none;height: 30px;width: 100%;background-size: 40px;background-repeat: no-repeat;background-color: #282c34;margin-bottom: -7px;border-radius: 5px;background-position: 10px 10px;background-image: url(&quot;https://mmbiz.qpic.cn/mmbiz_svg/dxKEsjQBP4QxEMzFlC6jiaLlTWsBKib5pWr5TeAfKgzibPMcx3pFk3Vp887tJs3DlxaxJemMNDEMXadEYAf2leucwmLj4Mn3UK6/640?wx_fmt=svg&amp;from=appmsg&quot;);\\\"></span><div style=\\\"--en-codeblock:true;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span>Import-Module PSReadLine</span><span><br/></span><span><br/></span><span>Import-Module posh-git</span><span><br/></span><span><br/></span><span>Import-Module PSFzf</span><span><br/></span><span><br/></span><span>Import-Module z</span><span><br/></span><span><br/></span><span style=\\\"color: #5c6370;font-style: italic;line-height: 26px;\\\"><span>## 命令补全 &amp; 历史预测</span></span><span><br/></span><span><br/></span><span>Set-PSReadLineOption -PredictionSource HistoryAndPlugin</span><span><br/></span><span><br/></span><span>Set-PSReadLineOption -PredictionViewStyle ListView</span><span><br/></span><span><br/></span><span>Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete</span><span><br/></span><span><br/></span><span>Set-PSReadLineOption -EditMode Emacs  </span><span style=\\\"color: #5c6370;font-style: italic;line-height: 26px;\\\"><span># Ctrl+R 搜索历史</span></span><span><br/></span><span><br/></span><span style=\\\"color: #5c6370;font-style: italic;line-height: 26px;\\\"><span>## oh-my-posh 主题</span></span><span><br/></span><span><br/></span><span>oh-my-posh init pwsh --config </span><span style=\\\"color: #98c379;line-height: 26px;\\\"><span>&quot;</span><span style=\\\"color: #d19a66;line-height: 26px;\\\"><span>$env</span></span><span>:POSH_THEMES_PATH\\\\jandedobbeleer.omp.json&quot;</span></span><span> | Invoke-Expression</span><span><br/></span></div></pre><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>保存退出，然后重启 Windows Terminal。</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>Boom！你的终端从此不同。</span></p><ol start=\\\"6\\\" style=\\\"margin:0;list-style-type:decimal;margin-top:8px;margin-bottom:8px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:25px;padding-right:0;color:rgb(89,89,89);font-size:15px\\\"><li><div style=\\\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\\\"><span>使用效果</span></div></li></ol><ul style=\\\"margin:0;list-style-type:circle;margin-top:8px;margin-bottom:8px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:25px;padding-right:0;color:rgb(89,89,89);font-size:15px\\\"><li><div style=\\\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\\\"><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;word-spacing:2px;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\\\"><code style=\\\"letter-spacing: 0em;width: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background-image: initial;background-position-x: initial;background-position-y: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;background-color: rgba(59, 170, 250, 0.1);padding-top: 0px;padding-right: 3px;padding-bottom: 0px;padding-left: 3px;border-top-left-radius: 2px;border-top-right-radius: 2px;border-bottom-right-radius: 2px;border-bottom-left-radius: 2px;height: 21px;line-height: 22px;font-size: 15px;font-weight: 500;\\\"><span>Tab</span></code><span> → 智能补全</span></p></div></li><li><div style=\\\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\\\"><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;word-spacing:2px;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\\\"><code style=\\\"letter-spacing: 0em;width: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background-image: initial;background-position-x: initial;background-position-y: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;background-color: rgba(59, 170, 250, 0.1);padding-top: 0px;padding-right: 3px;padding-bottom: 0px;padding-left: 3px;border-top-left-radius: 2px;border-top-right-radius: 2px;border-bottom-right-radius: 2px;border-bottom-left-radius: 2px;height: 21px;line-height: 22px;font-size: 15px;font-weight: 500;\\\"><span>Ctrl+R</span></code><span> → 模糊搜索历史命令</span></p></div></li><li><div style=\\\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\\\"><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;word-spacing:2px;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\\\"><code style=\\\"letter-spacing: 0em;width: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background-image: initial;background-position-x: initial;background-position-y: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;background-color: rgba(59, 170, 250, 0.1);padding-top: 0px;padding-right: 3px;padding-bottom: 0px;padding-left: 3px;border-top-left-radius: 2px;border-top-right-radius: 2px;border-bottom-right-radius: 2px;border-bottom-left-radius: 2px;height: 21px;line-height: 22px;font-size: 15px;font-weight: 500;\\\"><span>Ctrl+T</span></code><span> → 文件模糊搜索</span></p></div></li><li><div style=\\\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\\\"><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;word-spacing:2px;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\\\"><code style=\\\"letter-spacing: 0em;width: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(53, 148, 247);background-image: initial;background-position-x: initial;background-position-y: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;background-color: rgba(59, 170, 250, 0.1);padding-top: 0px;padding-right: 3px;padding-bottom: 0px;padding-left: 3px;border-top-left-radius: 2px;border-top-right-radius: 2px;border-bottom-right-radius: 2px;border-bottom-left-radius: 2px;height: 21px;line-height: 22px;font-size: 15px;font-weight: 500;\\\"><span>z project</span></code><span> → 秒跳到你常去的目录</span></p></div></li><li><div style=\\\"margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;\\\"><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;word-spacing:2px;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\\\"><span>命令提示符颜值直接拉满</span></p></div></li></ul><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>这体验，基本就是 Windows 版的 zsh + oh-my-zsh。</span></p><h2 style=\\\"margin:0;margin-top:30px;margin-bottom:15px;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;display:block;border-bottom-width:4px;border-bottom-style:solid;border-bottom-color:rgb(64,184,250)\\\"><span style=\\\"display: flex;width: 32px;height: 32px;background-size: 32px 32px;margin-bottom: -24px;background-image: url(&quot;https://mmbiz.qpic.cn/mmbiz_png/71fO5MXYCD05ersW3NWAz6o9CwPN91LKhZCWCAibmuTp7nUMt21IRPIQQVLsRUEU2RLZzEMVO4RKprFuHqEALRw/640?wx_fmt=png&amp;from=appmsg&quot;);\\\"></span><span style=\\\"font-size: 20px;color: rgb(64, 184, 250);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: flex;margin-left: 36px;\\\"><span>结语</span></span><span style=\\\"display: flex;box-sizing: border-box;width: 180px;height: 10px;border-top-left-radius: 20px;background-image: initial;background-position-x: initial;background-position-y: initial;background-size: initial;background-repeat: initial;background-attachment: initial;background-origin: initial;background-clip: initial;background-color: rgba(64, 184, 250, 0.5);color: rgb(255, 255, 255);font-size: 16px;letter-spacing: 0.544px;justify-content: flex-end;overflow-wrap: break-word;float: right;margin-top: -10px;\\\"></span></h2><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>其实很多人一提起 Windows 下的终端，第一反应还是“差劲”、“不如 Linux”。</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>但如果你用过 Windows Terminal + PowerShell 7 + 这一套配置，你会发现完全是另外一个世界：</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>补全丝滑、搜索高效、颜值爆表。</span></p><p style=\\\"margin:0;color:rgb(43,43,43);font-size:14px;line-height:1.8em;letter-spacing:2px;text-align:left;text-indent:0;padding-top:8px;padding-bottom:8px;padding-left:0;padding-right:0;margin-top:10px;margin-right:0;margin-bottom:10px;margin-left:0;word-spacing:2px\\\"><span>如果你也在 Windows 上开发，只需要将上面的命令复制到终端，就可以体验这个“升级版终端”，你一定会爱上它的。</span></p></div><div><span><br/></span></div></div></div></div></div></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":34191}]"
metadata_diff: {"new":{"id":"44afe457059b4cd8b292b52a83b6a2d4","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345771904,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:13:02.260Z
created_time: 2025-11-28T16:13:02.260Z
type_: 13