GitBash profile fails when opened as 1st tab #18947

Closed
opened 2026-01-31 06:29:12 +00:00 by claunia · 4 comments
Owner

Originally created by @alanlivio on GitHub (Nov 24, 2022).

Windows Terminal version

1.15.2875.0

Windows build number

10.0.22623.891

Other Software

git version 2.38.1.windows.1

Steps to reproduce

use Git Bash as one available profile

    "defaultProfile": "{42477ca6-0c65-56ae-89ef-eec9b0802c9d}",
    "profiles": {
        "list": [
            {
                "commandline": "C:\\Program Files\\Git\\bin\\bash.exe",
                "guid": "{42477ca6-0c65-56ae-89ef-eec9b0802c9d}",
                "icon": "C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico",
                "name": "GitBash",
                "startingDirectory": "%USERPROFILE%"
            },

Expected Behavior

GitBash profile as 1st tab open normally

Actual Behavior

GitBash profile fails when opened as 1st tab. But works when:

  • opened as 2nd/after;
  • outside wt calling directly "C:\Program Files\Git\bin\bash.exe"

WindowsTerminal_726

Originally created by @alanlivio on GitHub (Nov 24, 2022). ### Windows Terminal version 1.15.2875.0 ### Windows build number 10.0.22623.891 ### Other Software git version 2.38.1.windows.1 ### Steps to reproduce use Git Bash as one available profile ``` "defaultProfile": "{42477ca6-0c65-56ae-89ef-eec9b0802c9d}", "profiles": { "list": [ { "commandline": "C:\\Program Files\\Git\\bin\\bash.exe", "guid": "{42477ca6-0c65-56ae-89ef-eec9b0802c9d}", "icon": "C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico", "name": "GitBash", "startingDirectory": "%USERPROFILE%" }, ``` ### Expected Behavior GitBash profile as 1st tab open normally ### Actual Behavior GitBash profile fails when opened as 1st tab. But works when: - opened as 2nd/after; - outside wt calling directly "C:\\Program Files\\Git\\bin\\bash.exe" ![WindowsTerminal_726](https://user-images.githubusercontent.com/604808/203773085-e28ff2c3-077c-47af-9a54-77b114ca40bf.gif)
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 06:29:13 +00:00
Author
Owner

@PankajBhojwani commented on GitHub (Nov 30, 2022):

What happens if the first tab is command prompt and the second tab is gitbash? Trying to figure out if the issue has something to do with the first invocation of gitbash in terminal.

@PankajBhojwani commented on GitHub (Nov 30, 2022): What happens if the first tab is command prompt and the second tab is gitbash? Trying to figure out if the issue has something to do with the first invocation of gitbash in terminal.
Author
Owner

@ghost commented on GitHub (Dec 5, 2022):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Dec 5, 2022): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Author
Owner

@alanlivio commented on GitHub (Dec 7, 2022):

I will close the issue. I didn't face it. I image that some terminal or gitforwindows update fix it.

@alanlivio commented on GitHub (Dec 7, 2022): I will close the issue. I didn't face it. I image that some terminal or gitforwindows update fix it.
Author
Owner

@DHowett commented on GitHub (Dec 7, 2022):

Thanks for following up!

@DHowett commented on GitHub (Dec 7, 2022): Thanks for following up!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18947