Skip to content

🍙 The personal porfiles of the Terminal by myself

Notifications You must be signed in to change notification settings

tickmao/Windows-Terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Windows-Terminal

最终还是选择了 Windows Terminal ,以下为个人配置,仅供参考

基础搭配

  • 主题:Nord

  • 字体:Fair Code

效果图

话不多说,先上效果图,每个人的审美都有所不同,自己感觉还不错就好。

  • PowerShell

  • Ubuntu

至于为什么不用透明度,是因为真的不喜欢切换的时候各种变化,尤其是特别明显的变化。有需要可自行调整。

使用说明

关于 Windows 下的 bash 安装,再次就不做说明,有需要请自行查阅,一是讲解的文章很多,二是他并不是这里要说的重点。

打开 Windows Terminal 的 Settings 选项,并将Microsoft.PowerShell_profile内的内容复制到你的设置中保存即可。

安装 oh-my-posh

运行命令以安装 posh-git

bashInstall-Module posh-git -Scope CurrentUser

当然可能会询问是否安装 NuGet,选择是,也可能会询问是否执行Set-ExecutionPolicy,这里选择全是,等一切安装之后,再运行以下命令安装 oh-my-posh 本身。

Install-Module oh-my-posh -Scope CurrentUser

启用模组并设置主题

启用安装的模组,运行以下命令:

Import-Module oh-my-posh

需要让 PowerShell 每次启动的时候都能够加载这个模组,所以我们需要设置profile 文件让它自动启用,输入以下命令会告诉你具体的文件位置。

$profile

编辑文件将我的配置文件内容复制粘贴即可。

相关项目

Fair Code

Nord

参与我们

如果有任何想法或需求,可以在 issue 中告诉我们,欢迎各种小伙伴踊跃留言。

Author

Windows Terminal ©Tickmao, Released under the MIT License.

Blog @Tickmao · GitHub @Tickmao · Twitter @Tickmao

Releases

No releases published

Packages

No packages published