Shell-Turtlestein
Shell-Turtlestein copied to clipboard
shell_cmd or cmd is required
Ctrl+Shift+C, type command and execute errors to this message:
shell_cmd or cmd is required
This change resolved it for me:
--- a/Default (Windows).sublime-keymap
+++ b/Default (Windows).sublime-keymap
@@ -1,5 +1,5 @@
[
- {"keys": ["ctrl+shift+c"], "command": "shell_prompt"},
+ {"keys": ["ctrl+shift+c"], "command": "shell_prompt", "args": { "cmd": ["cmd.exe"] } },
{"keys": ["ctrl+shift+x"], "command": "shell_prompt", "args": { "run_previous": true } },
{"keys": ["shift+ctrl+alt+c"], "command": "subprocess_in_cwd", "args": {
"cmd": ["cmd.exe"]
Hmm... I haven't seen that error before and unfortunately I don't have a Window machine to test on.
I'm hesitant to add your change to the repo because the shell_prompt
command isn't designed to take a cmd
argument...
I had the same problem on macOS Sierra, fixed it with
{"keys": ["super+shift+c"], "command": "shell_prompt", "args": { "cmd": ["/usr/bin/sh"] } }