Skip to content

Commit d627d5a

Browse files
committed
Add support for using MinGW on Windows to run Bash scripts
1 parent f0ecbaf commit d627d5a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Bash.sublime-build

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
22
"cmd" : ["bash", "$file"],
3-
"selector" : "source.shell"
3+
"selector" : "source.shell",
4+
5+
"windows": {
6+
"path" : "$path;c:\\mingw\\bin;c:\\mingw\\msys\\1.0\\bin",
7+
"cmd" : ["bash", "--login", "-i", "-c", "cd \"$file_path\"; \"$file\""]
8+
}
49
}

0 commit comments

Comments
 (0)