Terminal,win10的最佳终端

Terminal

  • 是我开发历程中,接触的、第二个微软Microsoft开源的开发者工具
    • 第一个是VS Code)。
  • 吸引我的是
    • 高自定义性
    • 可扩展性
    • UI(个人审美比较……hh

详细配置

毛玻璃

  • 在配置文件profiles.json中的profiles,设置参数
"profiles": 
[
	{
   
	//开启毛玻璃特效
	"useAcrylic": true,
	}
],

设置 Powerline

来自微软官方文档

  • Powerline 提供自定义的命令提示符体验,提供 Git 状态颜色编码和提示符。

右键添加“在此处打开Terminal”

  • 新建一个注册表文件.reg,内容如下:
Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Windows Terminal Here"
"Icon"="C:\\Users\\Administrator\\terminal.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="C:\\Program 

参考文章

  1. 微软官方文档
  2. windows terminal安装与毛玻璃教程
  3. Windows Terminal 完美配置 PowerShell 7.1

更多配色方案

https://windowsterminalthemes.dev/

完整配置文件


// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation

{
   
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "theme": "dark",
        "profiles": [
            {
   
                "name" : "Powershell",
                "source" : "Windows.Terminal.PowershellCore",
                "acrylicOpacity" : 0.3,
                "colorScheme" : "Campbell",
                "cursorColor" : "#FFFFFD",
                "fontFace" : "Cascadia Code PL",
                "useAcrylic" : true,
                "acrylic" : 0.3
            }
        ],

    "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",

    "profiles":
    {
   
        "defaults":
        {
   
            // Put settings here that you want to apply to all profiles
            //将"在此处启动Windows Terminal"添加到右键菜单
            "startingDirectory" : ".",
        },
        "list":
        [
			{
   
				// Powershell 7.1.0-preview.2 配置
				"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
				"hidden": false,
				"name": "pwsh",
				// 注意:一定要写上 -nologo,否则开启 powershll 会有一段话输出,很讨厌!
				"commandline": "C:/Program Files/PowerShell/7-preview/pwsh.exe -nologo",
				"source": "Windows.Terminal.PowershellCore",
				// 启动菜单一定要设置为 <.>,否则后面重要的一步将会无效!
				"startingDirectory": ".",
				// 字体
				"fontFace": "Cascadia Code PL",
				"fontSize": 11,
				"historySize": 9001,
				"padding": "5, 5, 20, 25",
				"snapOnInput": true,
				"useAcrylic": false,
				//配色方案
				
  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

喜欢前端的后端MelodyJerry

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值