惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
N
Netflix TechBlog - Medium
P
Proofpoint News Feed
D
Docker
J
Java Code Geeks
L
LangChain Blog
Microsoft Security Blog
Microsoft Security Blog
The GitHub Blog
The GitHub Blog
I
InfoQ
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
月光博客
月光博客
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
腾讯CDC
罗磊的独立博客
U
Unit 42
爱范儿
爱范儿
Vercel News
Vercel News
MyScale Blog
MyScale Blog

博客园 - 丁少华

adb提取本机apk 安卓ADB调试安卓 高德地图车机版本9.5制作共存 Taskfile 拆分子文件 go项目的taskfile Go 内嵌网页 pgsql指定用户看到某个表 vue不使用根组件 Huma + Orval 前后端 API 自动生成方案 Mac安装nginx 不喜欢Go的几点 代码写错分支拯救指南 React UI 库推荐 Loop Engineering Vue 3 UI 组件库 Neon白嫖免费pgsql 域名利用cloudflare免费图床 nginx反代CloudflarePages提示502 vite使用shadcn vite使用biome Window下Nginx winserver2022安装不上软件 mac已损坏无法打开 代码高亮 命令运行器之task 命令运行器之just windows开启wsl 白嫖Redis 白嫖MongoDB vercel无服务函数
windows的终端像mac一样好用
丁少华 · 2026-09-05 · via 博客园 - 丁少华

配置成果回顾

  • 已就位能力:完成了原生 Windows 下类似 Oh My Zsh 的环境搭建,拥有了彩色胶囊/箭头提示符、执行耗时与 Git 状态感知,且避免了 WSL2 的跨系统文件卡顿问题。
  • 已解决的关键点
  • 替代 macOS open . 的命令是 explorer .(或 PowerShell ii .)。
  • 解决了新版 Oh My Posh 必须携带参数安装字体的要求(oh-my-posh font install JetBrainsMono)。
  • 在 Windows Terminal 中应用了 Nerd Font,消除了图标方块乱码。

核心维护与速查清单

  • 打开当前文件夹:
explorer .

  • 修改或查看终端启动配置:
notepad $PROFILE

  • 配置修改后立即刷新生效:
. $PROFILE

  • 字体重新安装或增补(管理员终端):
oh-my-posh font install JetBrainsMono


后续进阶建议

如果想要进一步获得类似 zsh-autosuggestions 的输入体验(敲命令时出现浅灰色历史提示,按右方向键 一键补全),可以在 $PROFILE 文件末尾追加以下两行:

Set-PSReadLineOption -PredictionSource History
Set-PSReadLineOption -PredictionViewStyle ListView  # 或者 InlineView 保持单行预测