powershell配置(1)-基本操作:主题和字体

2020-06-11  本文已影响0人  洗洗睡吧i

1. 安装 PowerShell 5.0 以上版本

ref: https://docs.microsoft.com/zh-cn/powershell/scripting/install/installing-windows-powershell?view=powershell-6

2. 用concfg配置主题

ref: https://github.com/lukesampson/concfg

scoop install concfg

# 设置主题
# concfg import cmd-default  # 暗色调
concfg import google-light  # 浅色调

# 列出所有预设主题
concfg presets

# 恢复原始设置
concfg clean

3. 安装字体

打开 PowerShell 窗口,右键标题栏 -> 默认值 -> 字体。

https://github.com/yakumioto/YaHei-Consolas-Hybrid-1.12

可以用scoop安装更纱黑体:

scoop bucket add nerd-fonts
scoop install SarasaGothic
上一篇 下一篇

猜你喜欢

热点阅读