Terminal Profile Settings Not Respected for AI Assistant Terminal

Title: Terminal Profile Settings Not Respected for AI Assistant Terminal

Description:
When configuring MSYS2 as the default terminal in Cursor, the AI assistant’s terminal continues to use Git Bash despite settings.json configuration. This creates a disconnect between the user’s terminal environment and the AI assistant’s terminal environment.

Steps to Reproduce:

  1. Install MSYS2 on Windows
  2. Configure Cursor settings.json with:
    {
    “terminal.integrated.defaultProfile.windows”: “MSYS2”,
    “terminal.integrated.profiles.windows”: {
    “MSYS2”: {
    “path”: “C:\msys64\usr\bin\bash.exe”,
    “args”: [“–login”, “-i”],
    “icon”: “terminal-bash”
    }
    },
    “terminal.integrated.shell.windows”: “C:\msys64\usr\bin\bash.exe”,
    “terminal.integrated.shellArgs.windows”: [“–login”, “-i”]
    }
  3. Restart Cursor
  4. Open new terminal
  5. User sees MSYS2 terminal
  6. AI assistant still uses Git Bash

Expected Behavior:
AI assistant should use the same terminal profile (MSYS2) as configured in settings.json

Actual Behavior:
AI assistant continues to use Git Bash regardless of settings

Environment:

  • OS: Windows 10
  • Cursor Version: [current version]
  • MSYS2: Latest version
  • Git Bash: Latest version

Impact:
This issue affects development workflows where MSYS2-specific tools (like pacman) are needed for AI-assisted development tasks.