win10美化PowerShell

1.安装ConEmu(windows终端增强版)

choco install ConEmu 

在这里插入图片描述

choco命令安装参见

2.安装PowerShell字体

git clone https://github.com/powerline/fonts.git --depth=1
cd .\fonts\
./install.ps1

在这里插入图片描述

3.安装美化模块

Set-ExecutionPolicy Bypass
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser

在这里插入图片描述

4.设置主题配置文件

if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force }
notepad $PROFILE

在打开的.ps1配置文件中加入以下内容:
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Agnoster

在这里插入图片描述

5.对ConEmu设置

参考

6.效果

随便设置了,感觉还不错

在这里插入图片描述

7.参考

Win10 1809 PowerShell美化教程
美化你的PowerShell
JanDeDobbeleer/oh-my-posh

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值