终端设置
oh my post
Windows Terminal美化
1. 安装PowerShell
打开Windows应用商店安装 PowerShell
2. 安装Oh-My-Posh
打开Windows应用商店安装 Oh-My-Posh
3.安装MesloLGM NF字体
下载安装MesloLGM NF字体,下载完成后解压,全选右键点击安装即可自动安装
Github地址:https://github.com/ryanoasis/nerd-fonts/releases
4. 设置字体
- 打开
Windows Terminal - 打开
设置 - 选中
PowerShell - 打开
外观选项 - 选择字体
MesloLGM NF - 保存设置

- 在
Windows Terminal中的powershell中输入
sh
notepad $profileTIP
- 默认会用记事本打开,第一次会提示显示找不到该文件,点击确定,输入
sh
oh-my-posh init pwsh --config $env:POSH_THEMES_PATH\multiverse-neon.omp.json | Invoke-Expression- 查看
powershell配置文件路径
sh
#这个文件会在每次启动终端时调用
$PROFILE- 保存
powershell配置文件到如下路径
sh
C:\Users\<用户>\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
- 然后回到
Windows terminal新建一个powershell,可以看到已生效的主题

5.修改主题
- 使用以下命令,下载并预览所有主题
sh
Get-PoshThemes
- 打开主题配置文件
sh
notepad $profile- 修改如下内容,替换
powerline.omp.json,更换主题名称
sh
oh-my-posh init pwsh --config $env:POSH_THEMES_PATH\powerline.omp.json | Invoke-Expression- 使用以下命令使主题生效
sh
.$PROFILE去掉版权信息
在命令行的末尾添加一个空格和-Nologo参数。

x-cmd
Linux 集成式终端命令行工具X 命令的起点
- Github:https://github.com/x-cmd/x-cmd
- Home:https://cn.x-cmd.com/
- Docs: https://cn.x-cmd.com/basic/theme
安装
sh
eval "$(curl https://get.x-cmd.com)"sh
eval "$(wget -O- https://get.x-cmd.com)"使用
- 更改命令行主题
sh
x theme
Hyper
基于网络技术的终端
- Github: https://github.com/vercel/hyper
- Docs: https://hyper.is/

tabby
是一个高度可配置的终端模拟器、SSH 和串行客户端,适用于 Windows、macOS 和 Linux。
- Github: https://github.com/Eugeny/tabby
- Home: https://tabby.sh/
