2026-03-29-oh-my-posh配置分享
278 个字
1 分钟
2026-03-29-oh-my-posh配置分享
作为落魄软开人,终端命令行(CLI)无疑是我们日常工作中不可或缺的工具之一。因此想拥有一个既美观又实用的终端界面,不至于天天盯着那个黑框框,感觉那个比较单调乏味~
官方网站,教程在里面 https://ohmyposh.dev/
先看美化完成后的结果:


配置分享:
{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "foreground": "#00CCFF", "style": "plain", "template": "<#00CCFF># </><#00CCFF>{{ .UserName }}</> <#FFFFFF>in</> <#00FFAA>{{ .HostName }}</> ", "type": "session" }, { "foreground": "#00BFFF", "properties": { "folder_icon": "\uf115", "folder_separator_icon": " \ue0b1 ", "style": "folder" }, "style": "plain", "template": " {{ .Path }} ", "type": "path" }, { "foreground": "#00BFFF", "style": "plain", "template": "{{ .HEAD }} ", "type": "git" } ], "type": "prompt" }, { "alignment": "right", "segments": [ { "foreground": "#FFFFFF", "style": "plain", "template": "[{{ .CurrentDate | date .Format }}]", "type": "time" } ], "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { "foreground": "#00FFAA", "style": "plain", "template": "\uf0e7 ", "type": "root" }, { "foreground": "#FFFFFF", "style": "plain", "template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ", "type": "python" }, { "foreground": "#FF5555", "style": "plain", "template": " {{ reason .Code }} ", "type": "status" }, { "foreground": "#FFFFFF", "style": "plain", "template": ">_ ", "type": "text" } ], "type": "prompt" } ], "final_space": true, "version": 3}分享到社交平台
将本文分享给你的朋友们
2026-03-29-oh-my-posh配置分享
https://zhongye1.github.io/posts/2026/2026-03-29-oh-my-posh配置分享/ 相关文章 智能推荐
1
2026-08-12-[ADR]-Arkhiv_RAG-vol.1
Agent 构建 RAG 管道、AI Agent、推荐系统、MLOps 平台、基于 LLM 的 Agent,以及介于其间的一切
2
2026-07-29-记 FastAPI 工程实践
笔记 2026-07-29
3
2026-07-25-[RFC]-Glushkov_OGAS
笔记 OGAS 是一个自托管的 Agent 研发生命周期协作平台。它让整个团队能以受控、可编排、可回滚的方式驱动 Agent,从一个需求的知识检索,一路自动推进到代码交付和线上部署。
4
2026-07-22-个人Neovim配置分享
笔记 nvim最头疼的往往是插件管理与配置,看到有项目 one.nvim 在试着把这些问题打包解决,在这里做分享
5
2026-07-20-技术写作-关于设计文档
笔记 即使是AI时代,文档写作也仍然是一个很重要的能力。这里主要关于设计文档的方法论与过程论开坑
随机文章 随便看看
Zhongye