码迷,mamicode.com
首页 > Windows程序 > 详细

Windows Terminal 配置

时间:2020-06-20 14:03:55      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:添加   mina   str   his   shell   size   data   bar   key   

注册表添加右键菜单:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Terminal Here]

[HKEY_CLASSES_ROOT\Directory\Background\shell\Terminal Here\command]
@="C:\\Users\\ws-de\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe -d ."

Terminal配置文件,添加git bash

{
    ...
    "profiles":
    {
        "list":
        [
            ...
            {
                "guid": "{458a038e-a9ef-11ea-bb37-0242ac130002}",
                "closeOnExit" : true,
                "colorScheme" : "Campbell",
                "commandline" : "\"%PROGRAMFILES%\\git\\bin\\bash.exe\" -i -l",
                "cursorColor" : "#FFFFFF",
                "cursorShape" : "bar",
                "fontFace" : "Consolas",
                "fontSize" : 10,
                "historySize" : 9001,
                "icon" : "%PROGRAMFILES%\\Git\\mingw64\\share\\git\\git-for-windows.ico", 
                "name" : "Git-Bash",
                "padding" : "0, 0, 0, 0",
                "snapOnInput" : true,
                "startingDirectory" : "%USERPROFILE%"
            },
            ...
        ]
    },
   ...
}

参考:
https://stackoverflow.com/questions/56839307/adding-git-bash-to-the-new-windows-terminal
https://github.com/microsoft/terminal/issues/1060

Windows Terminal 配置

标签:添加   mina   str   his   shell   size   data   bar   key   

原文地址:https://www.cnblogs.com/wswind/p/13168307.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!