Question : git bash terminal in sublime
Answered by : clean-cottonmouth-9fcug6iiofux
## setup git bash/cmd terminal in sublime text editor
GOTO
`preferences`>
`package settings`>
`terminus`>
`settings`
{ "default_config" : { "windows" : "Git Bash" }, "shell_configs": [ { "name": "Git Bash", "cmd": ["C:/Program Files/Git/bin/sh.exe"], "env": {}, "enable": true, "default": false, "platforms": ["windows"] } ]
}
Then GOTO
`preferences`>
`package settings`>
`terminus`>
`key bindings`
[ {
//alt+1 for cmd "keys": ["alt+1"], "command": "terminus_open", "args" : { "cmd": "cmd.exe", "cwd": "${file_path:${folder}}", "panel_name": "Terminus" } }, {
//alt +2 for git bash "keys": ["alt+2"], "command": "terminus_open", "args" : { "cmd": ["C:/Program Files/Git/bin/sh.exe"], "cwd": "${file_path:${folder}}", "panel_name": "Terminus" } },
]
Source : | Last Update : Thu, 13 Oct 22