首页
随机
最近更改
特殊页面
社群首页
参数设置
关于WHY42
免责声明
WHY42
搜索
用户菜单
登录
欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。
查看“︁Win10:Terminal美化”︁的源代码
←
Win10:Terminal美化
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<syntaxhighlight lang="bash"> # powershell这种安装方式没有试成功 # C:\Users\riguz\Documents\WindowsPowerShell\Modules\oh-my-posh # C:\Program Files\WindowsPowerShell\Modules # Install-Module oh-my-posh -Scope CurrentUser </syntaxhighlight> Winget安装: 在AppStore里面更新App Installer <syntaxhighlight lang="bash"> winget install JanDeDobbeleer.OhMyPosh # 修改$PROFILE oh-my-posh --init --shell pwsh --config ~\AppData\Local\Programs\oh-my-posh\themes\jandedobbeleer.omp.json | Invoke-Expression . $PROFILE # 管理员运行 set-executionpolicy remotesigned echo </syntaxhighlight> * https://docs.microsoft.com/zh-cn/windows/terminal/tutorials/custom-prompt-setup * https://docs.microsoft.com/zh-cn/windows/package-manager/winget/#production-recommended
返回
Win10:Terminal美化
。