Adding Git-Bash to the new Windows Terminal

0 votes
I'm trying to add a new terminal (Git Bash) to the new Windows Terminal. However, I can't get it to work.

I tried changing the commandline property in the profiles array to git-bash.exe but no luck.

Does anyone have an idea how to get this to work?
May 27, 2022 in Linux Administration by Rahul
• 3,380 points
1,029 views

1 answer to this question.

0 votes

Open settings with Ctrl + ,

You'll want to append one of the profiles options below to the "list" portion of the settings.json file 

{
    "$schema": "https://aka.ms/terminal-profiles-schema",

    "defaultProfile": "{00000000-0000-0000-ba54-000000000001}",

    "profiles":
    {
        "defaults":
        {
            // Put settings here that you want to apply to all profiles
        },
        "list":
        [
            <put one of the configuration below right here>
        ]
    }
}

Uncomment correct paths for commandline and icon if you are using:

  • Git for Windows in %PROGRAMFILES%
  • Git for Windows in %USERPROFILE%
  • If you're using scoop
answered May 27, 2022 by Korak
• 5,820 points

Related Questions In Linux Administration

0 votes
0 answers

How to add man and zip to "git bash" installation on Windows

I am using git bash on Windows - that ...READ MORE

Jun 7, 2022 in Linux Administration by Rahul
• 3,380 points
1,041 views
0 votes
0 answers

How to add man and zip to "git bash" installation on Windows

I am using git bash on Windows - that ...READ MORE

Jun 9, 2022 in Linux Administration by Rahul
• 3,380 points
1,716 views
0 votes
2 answers

how to loop through the content of a file using bash

#!/bin/bash for i in  `cat peptides.txt` do echo $i done READ MORE

answered Sep 5, 2020 in Linux Administration by Prakash K. Aithal
2,981 views
0 votes
1 answer

How to find the first field from a file in Bash Shell?

Hi@akhtar, You can extract text from a file. ...READ MORE

answered Oct 20, 2020 in Linux Administration by MD
• 95,460 points
1,075 views
0 votes
1 answer

Why do you need to put #!/bin/bash at the beginning of a script file?

It's a show so the *nix shell ...READ MORE

answered Jun 20, 2022 in Linux Administration by Rahul
• 3,380 points
1,148 views
0 votes
0 answers

How to detect the OS from a Bash script?

I would like to keep my .bashrc and .bash_login files in ...READ MORE

Jun 21, 2022 in Linux Administration by Korak
• 5,820 points
547 views
0 votes
0 answers

How to detect the OS from a Bash script?

I would like to keep my .bashrc ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
578 views
0 votes
0 answers

How do I get my bash script to assign unique usernames automatically to new users?

I'm a beginner writing a bash script ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
754 views
0 votes
1 answer

Windows system, after heroku login from git bash, there is no command line show

You can login via Windows command prompt ...READ MORE

answered May 27, 2022 in Linux Administration by Korak
• 5,820 points
1,576 views
0 votes
1 answer

How can I download git branch files to local system?

Clone the master branch. As you  said ...READ MORE

answered May 27, 2022 in Linux Administration by Korak
• 5,820 points
2,495 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP