How to add profiles to the new Windows Terminal

In a previous post I showed how I got the new Windows Terminal building. In this post I will show you how to add additional profiles to the new Windows Terminal.

Start the terminal and press Ctrl+T if the tabs are not showing. With the tabs showing using the dropdown menu select “Settings”.

clip_image002

This will open a JSON file in your default editor. In my case that is VS Code. Using VS Code I formatted the file so I could edit the sections.

clip_image004

Copy the PowerShell profile and paste it above the cmd profile. Now just update the guid, name and commandline.

To add Git Bash we are going to need a new GUID. You can visit http://new-guid.com/ and just copy and paste it into the new profile. Set the name to “Git Bash”. Set the commandline to "C:\\Program Files\\Git\\bin\\bash.exe". Now save the file. You can now select “Git Bash” from the menu.

clip_image006

To add Bash on Ubuntu (on Windows) repeat the steps above and set the commandline to “C:\\Windows\\System32\\bash.exe”

clip_image008

Comments (3) -

  • Bartholomew

    6/27/2019 3:11:40 AM | Reply

    Thanks, added an the git icon as well:
            {
                "acrylicOpacity" : 0.75,
                "closeOnExit" : true,
                "colorScheme" : "Campbell",
                "commandline" : "C:/Program Files/Git/usr/bin/bash.exe --login",
                "cursorColor" : "#FFFFFF",
                "cursorShape" : "bar",
                "fontFace" : "Consolas",
                "fontSize" : 10,
                "guid" : "{14ad203f-52cc-4110-90d6-d96e0f41b64d}",
                "historySize" : 9001,
                "icon" : "C:/Program Files/Git/mingw64/share/git/git-for-windows.ico",
                "name" : "Git Bash",
                "padding" : "0, 0, 0, 0",
                "snapOnInput" : true,
                "startingDirectory" : "%USERPROFILE%",
                "useAcrylic" : true
            },

  • Gray

    6/30/2019 11:28:51 AM | Reply

    Donovan,  Good article about getting this up and going.  How is your Git Bash working.  I tried adding it, but it is opening up in a new window still :-(  Could I see a copy of your config section for that?

    • Donovan

      7/14/2019 6:16:22 PM | Reply

      Sorry for the delay. I rebuilt my machine because 1903 was not playing nice on my laptop so I don't have the files anymore.

Add comment

Loading