git - Sublime Text 3 Glue package, setting shellpath with arguments -


i'm trying set custom shell path in glue package , use arguments.

point is, on windows dont want use native powershell or so, want use git bash, installed.

sh.exe needs run argumens --login -i settings below not work in glue:

{     "glue_shellpath": "c:\\program files (x86)\\git\bin\\sh.exe --login -i" } 

thanks

a quick through glue's source seems indicate "glue_shellpath" command can single filename, without arguments. easiest way around make batch file. create file following contents:

@echo off "c:\program files (x86)\git\bin\sh.exe" --login -i 

and save runloginshell.bat in git\bin directory (you can save anywhere, really). then, set

"glue_shellpath": "c:\\program files (x86)\\git\bin\\runloginshell.bat" 

in glue.sublime-settings file, , should set. remember .sublime-settings files need valid json, make sure have appropriately-placed commas @ end of lines except last one, , enclosed in { } curly braces.

good luck!


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -