diff --git a/plugin/src/de/anbos/eclipse/easyshell/plugin/preferences/CommandDataDefaultCollectionWindows.java b/plugin/src/de/anbos/eclipse/easyshell/plugin/preferences/CommandDataDefaultCollectionWindows.java index 08749ff7..d87f5d9f 100644 --- a/plugin/src/de/anbos/eclipse/easyshell/plugin/preferences/CommandDataDefaultCollectionWindows.java +++ b/plugin/src/de/anbos/eclipse/easyshell/plugin/preferences/CommandDataDefaultCollectionWindows.java @@ -64,6 +64,27 @@ private static void addCommandsConsole(CommandDataList list) { "\"C:\\Program Files\\Git\\git-bash.exe\"")); list.add(new CommandData("03e6678b-f67f-42ed-b65f-6b6f06ec0e8f", PresetType.presetPlugin, OS.osWindows, "Git Bash v2.x", ResourceType.resourceTypeFile, true, "${easyshell:container_loc}", Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, "\"C:\\Program Files\\Git\\git-bash.exe\" -c ./\"${easyshell:resource_name}\"")); + // MSYS2: http://www.msys2.org + list.add(new CommandData("0494f4e4-d0ea-4700-86eb-ea9ac58cb74f", PresetType.presetPlugin, OS.osWindows, "MSYS2 Bash", ResourceType.resourceTypeFileOrDirectory, true, "${easyshell:container_loc}", Category.categoryOpen, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "msys2 /bin/bash -c \"exec bash\"")); + list.add(new CommandData("fe0192d8-e884-4463-bc93-2746f44be0a3", PresetType.presetPlugin, OS.osWindows, "MSYS2 Bash", ResourceType.resourceTypeFile, true, "${easyshell:container_loc}", Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "msys2 /bin/bash -c \"./'${easyshell:resource_name}'\"")); + list.add(new CommandData("fefa90d8-3b72-4313-bc48-e743ca5d903e", PresetType.presetPlugin, OS.osWindows, "MSYS2 Bash (hold)", ResourceType.resourceTypeFile, true, "${easyshell:container_loc}", Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "msys2 /bin/bash -c \"./'${easyshell:resource_name}';exec bash\"")); + // MinGW32 + list.add(new CommandData("6e08abbc-d9ee-407a-a7ad-5e14dafc0fa2", PresetType.presetPlugin, OS.osWindows, "MinGW32 Bash", ResourceType.resourceTypeFileOrDirectory, true, "${easyshell:container_loc}", Category.categoryOpen, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "mingw32 /bin/bash -c \"exec bash\"")); + list.add(new CommandData("6c528020-02c1-4245-9eab-60dff12f89b0", PresetType.presetPlugin, OS.osWindows, "MinGW32 Bash", ResourceType.resourceTypeFile, true, "${easyshell:container_loc}", Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "mingw32 /bin/bash -c \"./'${easyshell:resource_name}'\"")); + list.add(new CommandData("22da92a3-05df-4179-b9a5-3b75131a4e0b", PresetType.presetPlugin, OS.osWindows, "MinGW32 Bash (hold)", ResourceType.resourceTypeFile, true, "${easyshell:container_loc}", Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "mingw32 /bin/bash -c \"./'${easyshell:resource_name}';exec bash\"")); + // MinGW64 + list.add(new CommandData("4bfb0295-476e-4503-af55-e9eb89eb72ab", PresetType.presetPlugin, OS.osWindows, "MinGW64 Bash", ResourceType.resourceTypeFileOrDirectory, true, "${easyshell:container_loc}", Category.categoryOpen, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "mingw64 /bin/bash -c \"exec bash\"")); + list.add(new CommandData("f01bbb14-70ae-4b24-a112-73a71496c6b8", PresetType.presetPlugin, OS.osWindows, "MinGW64 Bash", ResourceType.resourceTypeFile, true, "${easyshell:container_loc}", Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "mingw64 /bin/bash -c \"./'${easyshell:resource_name}'\"")); + list.add(new CommandData("ce55f175-74a3-447d-9bba-9b24aeaa2b0d", PresetType.presetPlugin, OS.osWindows, "MinGW64 Bash (hold)", ResourceType.resourceTypeFile, true, "${easyshell:container_loc}", Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip, + "mingw64 /bin/bash -c \"./'${easyshell:resource_name}';exec bash\"")); // Windows Console // Console2: https://sourceforge.net/projects/console/ // ConsoleZ: https://github.com/cbucher/console diff --git a/uuids.txt b/uuids.txt index 7270ff67..b186e645 100644 --- a/uuids.txt +++ b/uuids.txt @@ -12,12 +12,21 @@ af2968d0-3a1a-40db-b3cb-e2e16293a285 939ff127-1b7d-4528-8d40-bd9607f5b3d2 5b1e3806-a9ab-4866-b660-823ac388a575 2002e587-70a3-4204-b1a5-6faf6271ad08 -60fd43d2-d837-41d1-aaa3-3f5cab6bf0fb -af6d97f2-f0a8-46e2-8234-74c0ee3e6007 24419204-c8e5-4d79-a7b8-b14e93077cf0 ee790c7f-9c6d-40f9-84f6-51a948a59d45 d2726c3f-6da3-46b5-8029-1c63d0ff6bd2 03e6678b-f67f-42ed-b65f-6b6f06ec0e8f +0494f4e4-d0ea-4700-86eb-ea9ac58cb74f +fe0192d8-e884-4463-bc93-2746f44be0a3 +fefa90d8-3b72-4313-bc48-e743ca5d903e +6e08abbc-d9ee-407a-a7ad-5e14dafc0fa2 +6c528020-02c1-4245-9eab-60dff12f89b0 +22da92a3-05df-4179-b9a5-3b75131a4e0b +4bfb0295-476e-4503-af55-e9eb89eb72ab +f01bbb14-70ae-4b24-a112-73a71496c6b8 +ce55f175-74a3-447d-9bba-9b24aeaa2b0d +60fd43d2-d837-41d1-aaa3-3f5cab6bf0fb +af6d97f2-f0a8-46e2-8234-74c0ee3e6007 1bd62e22-cd93-4136-b643-1cbb9579c195 c2b73077-ffd9-4fb7-9793-189be9f13ebb c57a5d9f-491a-4b21-8a8b-9941b01cc049 @@ -103,14 +112,5 @@ Do not use - Free -0494f4e4-d0ea-4700-86eb-ea9ac58cb74f -fefa90d8-3b72-4313-bc48-e743ca5d903e -6e08abbc-d9ee-407a-a7ad-5e14dafc0fa2 -22da92a3-05df-4179-b9a5-3b75131a4e0b -4bfb0295-476e-4503-af55-e9eb89eb72ab -ce55f175-74a3-447d-9bba-9b24aeaa2b0d -fe0192d8-e884-4463-bc93-2746f44be0a3 -6c528020-02c1-4245-9eab-60dff12f89b0 -f01bbb14-70ae-4b24-a112-73a71496c6b8 a2a9c831-bb20-42db-bbe1-c71b6b5019c7 ee2db486-4df3-42c1-b19e-03761ffac105