# 使用完整路径初始化 Oh My Posh C:\Users\goodm\AppData\Local\Programs\oh-my-posh\bin\oh-my-posh.exe init pwsh |Invoke-Expression # 如果想使用特定主题,可以这样写: # C:\Users\goodm\AppData\Local\Programs\oh-my-posh\bin\oh-my-posh.exe init pwsh --config "$env:POSH_THEMES_PATH\agn...
4.安装oh-my-posh winget install JanDeDobbeleer.OhMyPosh -s winget 5.预览各个主题,并选择自己喜欢的主题,并记录对应主题名称 https://ohmyposh.dev/docs/themes 6.设置主题 vim$Profile 7.在文件中写入如下代码 #下面montys为主题名称,替换为自己喜欢的主题名称即可。推荐主题:microverse-poweroh-my-posh i...
我们可以使用Oh My Posh自定义PowerShell或适用于Linux的Windows子系统 (WSL) 的命令提示符。Oh My Posh提供完全自定义的命令提示符体验的主题功能,提供 Git 状态颜色编码和提示符。如下图: 安装Oh My Posh for PowerShell 如果要自定义 PowerShell 提示符,可使用winget安装Oh My Posh。 在powershell终端中输入以...
oh-my-posh应该是对标 oh-my-zsh 的工具,其安装步骤如下: 使用系统管理员打开 Windows Terminal 执行安装命令:winget install JanDeDobbeleer.OhMyPosh -s winget 使用系统管理员重新打开 Windows Terminal,使得 oh-my-posh 命令生效 安装必要字体(否则某些 icron 会乱码),执行命令oh-my-posh font install,此时...
1. 安装powershell 我相信大家都有,除非你自己卸载了,这个可以去微软应用商店去下 2.安装oh-my-posh winget install JanDeDobbeleer.OhMyPosh -s winget 【此处踩坑】winget比较慢,一般是没有换源导致的 一般而言,先查看winget源 winget source list ...
在windows中使用Oh My Posh美化你的终端PowerShell或WSL 安装Windows terminal Windows 终端是一个新式主机应用程序,它面向你喜爱的命令行shell,如命令提示符、PowerShell和bash(通过适用于Linux的Windows子系统 (WSL))。 它的主要功能包括多个选项卡、窗格、Unicode和UTF-8字符支持、GPU加速文本呈现引擎,你还可用它来...
1.安装 oh-my-posh oh-my-posh 在powershell里运行winget install JanDeDobbeleer.OhMyPosh -s winget 2. 设置powershell的profile 打开一个powershell窗口,执行New-Item -Path $PROFILE -Type File -Force来创建一个新的profile, 再执行notepad $PROFILE用记事本打开它。
Windows | Oh My Poshohmyposh.dev/docs/installation/windows 不过在真实的win11环境下安装会有一些小坑,所以我就以最简短的笔体来描述一下安装过程。 oh-my-posh3比较影响性能,如果你的CPU不是很好,不是很推荐使用。 准备 下载Nerd字体: Nerd Fonts - Iconic font aggregator, glyphs/icons collection, &...
或者直接Windows Terminal直接输入命令安装: winget install JanDeDobbeleer.OhMyPosh -s winget 1. 2.2、离线安装 Github下载地址:Releases · microsoft/terminal · GitHub 下载后解压,双击主程序即可打开。 2.3、配置 找到Windows Terminal配置文件: 我的路径是:C:\Users\79304\Documents\WindowsPowerShell\Microsoft...
Oh My Posh 是一个适用于任何 shell 的自定义提示引擎,能够使用函数或变量调整提示字符串。 官网:Home | Oh My Posh 官网有详细的配置说明和主题下载,有兴趣的可以看看 二.安装字体 Nerd Fonts网站,可以安装所有字体 推荐使用MesloLGM NF字体,点此下载 ...