We went through all of this and now you tell me there was a simpler way? Open the file with your favorite text editor and add the following chunk of code inside object. Or you can access the path directly C:\Users\YOUR_USER\AppData\Local\Packages\Microsoft.WindowsTerminal_\LocalState\settings.json You can add Git Bash to Windows Terminal via the settings.json file.Ĭlick the cog icon at the bottom left of the screen where it says Open JSON file. Go back to Settings -> Startup -> Default Profile and select Git Bash as the default profile.Īdd Git Bash to Windows Terminal via settings.json That’s because the Git Bash profile we just created was not set as the default profile. If you had the curiosity of opening a new terminal by pressing the + icon you are probably now disappointed that Git Bash wasn’t the one that popped up. We have successfully added Git Bash to Windows Terminal! Open the Git Bash window by clicking the dropdown arrow and then Git Bash or by using the CTRL + SHIFT + 6 hotkey. Set the Title Tab to Git Bash (not visible in the picture) or any suggestive name you’d like. Set the path to the icon to C:\Program Files\Git\mingw64\share\git\git-for-windows.ico Set the starting directory to %USERPROFILE% or any directory you’re using the most. ⚠️In any case, make sure to choose the executable file from the bin folder! Your path may be different, depending on where you installed Git. Set the executable Git path to C:\Program Files\Git\bin\bash.exe in the Command Line section. Name the profile Git Bash, or any suggestive name you’d like. Press down CTRL +, (comma) or click the dropdown arrow to open the Settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |