wuub / SublimeREPL

SublimeREPL - run an interpreter inside ST2 (Clojure, CoffeeScript, F#, Groovy, Haskell, Lua, MozRepl, NodeJS, Python, R, Ruby, Scala, shell or configure one yourself)
https://github.com/wuub/SublimeREPL
Other
2.14k stars 312 forks source link

add open git bash #553

Open roy-lau opened 6 years ago

roy-lau commented 6 years ago

Default.sublime-commands

[
{
"caption": "SublimeREPL: GitBash",
"command": "run_existing_window_command", "args":
{
"id": "gitbash",
"file": "config/GitBash/Main.sublime-menu"
}
}
]

Main.sublime-menu

[
{
"id": "tools",
"children":
[{
"caption": "SublimeREPL",
"mnemonic": "R",
"id": "SublimeREPL",
"children":
[
{"command": "repl_open",
"caption": "GitBash",
"id": "repl_gitbash",
"mnemonic": "G",
"args": {
"type": "gitbash",
"encoding": "utf8",
"cmd": ["C:\\Program Files\\Git\\git-bash.exe", "-i"],
"cwd": "$file_path",
"syntax": "Packages/GitBash/Support/GitbashSyntax.tmLanguage"
}
},
]
}]
}
]

default

How to increase the opening git bash function?