The new windows terminal

Jul 6, 2020 10:25 pm
by Alex

Microsoft finally have something replacing the cmd.exe and the PowerShell app, it is call Windows Terminal

I like it the most because it’s tab features, and you can add your favorite command line program to it, below example I added git-bash shell to Windows Terminal, so I can use Windows Terminal to open git-bash.

First open up setting ctrl + ,

and add the following code to it

{ 
    "tabTitle": "Git Bash",
    "acrylicOpacity" : 0.75, 
    "closeOnExit" : true, 
    "colorScheme" : "Nicks", 
    "commandline" : "D:/Program Files/Git/bin/bash.exe --login", 
    "cursorColor" : "#FFFFFF", 
    "cursorShape" : "bar", 
    "fontFace" : "Lucida Console", 
    "fontSize" : 14, 
    "guid" : "{14ad203f-52cc-4110-90d6-d96e0f41b64d}", 
    "historySize" : 9001, 
    "icon": "ms-appdata:///roaming/git-bash_32px.ico",
    "name" : "Git Bash", 
    "padding" : "0, 0, 0, 0", 
    "snapOnInput" : true, 
    "useAcrylic" : true 
}

and for the git-bash color schemes, add the following code to schemes section

[
    {
        "name" : "Nicks",
        "background" : "#202030",
        "black" : "#282C34",
        "blue" : "#61AFEF",
        "brightBlack" : "#7FB323",
        "brightBlue" : "#00AFEF",
        "brightCyan" : "#56B6C2",
        "brightGreen" : "#AAD76F",
        "brightPurple" : "#CEE066",
        "brightRed" : "#FC7474",
        "brightWhite" : "#DCE4DF",
        "brightYellow" : "#22F901",
        "cyan" : "#70E8F8",
        "foreground" : "#CAE0AC",
        "green" : "#6A8854",
        "purple" : "#C678DD",
        "red" : "#FB4242",
        "white" : "#DCDFE4",
        "yellow" : "#E5C07B"
    }
]

finally, change the default shell to git-bash shell