Open br4nnigan opened 1 month ago
G'day @br4nnigan,
Thanks for reaching out!
The command
portion of the menu item refers to a Sublime Merge command.
Sublime Merge currently doesn't support running ad-hoc processes.
As a temporary work-around you can define a git alias to run your scripts, and then run the associated alias through the git
command.
git config alias.customalias '!f() { echo $1; }; f'
{
"caption": "My Custom Command",
"command": "git",
"args": {"argv": ["customalias", "$commit"]}
},
Cheers, - Dylan from Sublime HQ
Version info
Description
it seems that using any other command than "git" in custom menus leads to the menu item being ignored. Example Commit.sublime-menu:
Only the first one works