"terminal.integrated.shell.windows": "C:\msys\usr\bin\bash.exe",
    "terminal.integrated.shellArgs.windows": ["--login", "-i"],
    "terminal.integrated.env.windows": {
        "CHERE_INVOKING": "1",
        "MSYSTEM": "MINGW64",
        "MSYS2_PATH_TYPE": "inherit",
    },
    "terminal.integrated.copyOnSelection": true,
原文地址:https://www.cnblogs.com/zhouxuejia/p/13292745.html