https://youtu.be/5-aK2_WwrmMHow to set up PowerShell prompt with Oh My Posh on Windows 11, 视频播放量 12265、弹幕量 9、点赞数 193、投硬币枚数 32、收藏人数 420、转发人数 16, 视频作者 HeyJSer, 作者简介 整理了一些前端合集 | 一个既学前端又学英语的频道 o.o,
Windows | Oh My Poshohmyposh.dev/docs/windows note: 需要我删除请说明,我再手撸一个问题不大Windows | Oh My Posh 主要是解决安装后每次使用时候的更新加载问题,动不动4分钟左右,有毛病 打开C:\Users\wie\Documents\WindowsPowerShell\Modules\oh-my-posh\7.37.1 这里的wie是我的用户路径,必须要替换...
继续修改文件 换掉第一行即可,如:oh-my-posh init pwsh --config 'C:\Users\12205\AppData\Local\Programs\oh-my-posh\themes\jandedobbeleer.omp.json' | Invoke-Expression 重启生效。六、字体与背景 找到设置或者用快捷键 Ctrl+,配置好字体与背景,中文界面不解释,看图。七、总结 美化的终点是原生,换...
Install-Moduleposh-git-ScopeCurrentUserInstall-Moduleoh-my-posh-ScopeCurrentUser 如果想为全部用户安装,使用管理员打开 Terminal 或 PowerShell 执行以下命令 Install-Moduleposh-gitInstall-Moduleoh-my-posh 如果出现不受信任的存储库,就选择A 如果需要更新这两个工具,执行以下命令 Update-Module-Nameposh-gitUpdate...
oh-my-posh 适用于多种 shell 的终端提示个性化工具。该项目内置多款主题开箱即用,支持 Windows、Linux、macOS 三个系统上的 PowerShell、Bash、Zsh 等多种 shell,自动补全你输入的每个命令。 项目地址 http:/...
oh-my-posh init pwsh | Invoke-Expression然后回到Windows terminal新建一个powershell,即可看到以下内容修改主题:$user_name = "steve" $theme_name = "bubblesextra" oh-my-posh init pwsh --config "C:\Users\${user_name}\AppData\Local\Programs\oh-my-posh\themes\$theme_name.omp.json" | Invoke-...
oh-my-posh --init --shell pwsh --config 主题路径 | Invoke-Expression Bash 的配置文件一般是~/.bashrc 或者~/.profile,同上文一样,编辑对应的文件,若没有,则新建一个,新增下面一行代码并重启终端1: eval "$(oh-my-posh --init --shell bash --config 主题路径)" ...
官方:https://ohmyposh.dev/ git 地址:https://github.com/jandedobbeleer/oh-my-posh winget install oh-my-posh 以上命令会安装 oh-my-posh.exe 以及最新的主题。 安装Nerd Fonts oh-my-posh 的不少主题都是依赖于该字体,否则部分 icon 会乱码,建议安装。
2.安装oh-my-posh winget install JanDeDobbeleer.OhMyPosh -s winget 【此处踩坑】winget比较慢,一般是没有换源导致的 一般而言,先查看winget源 winget source list winget源 一般而言,有两个,一个是微软的cdn的cache(这里让我删过一次了),还有的就是第二个那个msstore微软商店的源,默认微软商店的源会放...
本文的主角 Oh my posh 正是这样一款终端 Prompt 个性化工具,虽然肇始于同类工具 Oh My Zsh,但当更新到 5.0 版本时,重新设计的 Oh my posh 已经摆脱平台的桎梏,支持了 Windows、GNU/Linux(WSL)、macOS 三个系统上的 PowerShell、bash、zsh 等终端。