其他分享
首页 > 其他分享> > VsCode配置git bash & ll命令失效解决

VsCode配置git bash & ll命令失效解决

作者:互联网

PS:

  1. VsCode版本:1.68.1 || 1.69
  2. 新旧版本设置不一样
  3. 重点是 args 参数(ll生效)
 "Git-Bash": {
            "path": "D:\\Tools\\Git\\bin\\bash.exe",
            "args": [
                "-l",
                "-i"
            ]
 },

 

 

{
    "editor.fontSize": 16,
    "editor.accessibilityPageSize": 16,
    "editor.mouseWheelZoom": true,
    "workbench.startupEditor": "none",
    "terminal.integrated.profiles.windows": {
        "PowerShell": {
            "source": "PowerShell",
            "icon": "terminal-powershell"
        },
        "Command Prompt": {
            "path": [
                "${env:windir}\\Sysnative\\cmd.exe",
                "${env:windir}\\System32\\cmd.exe"
            ],
            "args": [],
            "icon": "terminal-cmd"
        },
        
        "Git-Bash": {
            "path": "D:\\Tools\\Git\\bin\\bash.exe",
            "args": [
                "-l",
                "-i"
            ]
        },



    },
    "workbench.colorTheme": "Monokai",
    "terminal.integrated.defaultProfile.windows": "Git-Bash",
    
}

 

标签:git,VsCode,ll,args,terminal,Git,editor,Bash,exe
来源: https://www.cnblogs.com/coder2020/p/16514921.html