Skip to content

Instantly share code, notes, and snippets.

@kujiy
Forked from branquito/Terminal.sublime-settings
Last active October 24, 2023 14:18
Show Gist options
  • Save kujiy/b1728a086e83cfa28807 to your computer and use it in GitHub Desktop.
Save kujiy/b1728a086e83cfa28807 to your computer and use it in GitHub Desktop.
open git bash using `terminal` plugin for sublime
{
// The command to execute for the terminal, leave blank for the OS default
// On OS X the terminal can be set to iTerm.sh to execute iTerm
"terminal": "C:\\Program Files\\Git\\git-bash.exe",
// A list of default parameters to pass to the terminal, this can be
// overridden by passing the "parameters" key with a list value to the args
// dict when calling the "open_terminal" or "open_terminal_project_folder"
// commands
"parameters": ["-c", "cd \"%CWD%\" && \"C:\\Program Files\\Git\\bin\\sh.exe\" -i -l"]
}
@kujiy
Copy link
Author

kujiy commented Nov 13, 2015

I updated for Git 2.5+ (for windows 64bit)

@kujiy
Copy link
Author

kujiy commented Nov 13, 2015

sublime text 3 - terminal plug-in is in here
https://packagecontrol.io/packages/Terminal

How to install

install package from package control
type terminal

@aldomolina
Copy link

It worked for me. But it does not recognize the nodejs commands. Any solution?
Thank you.

@fahmibrillian
Copy link

it worked, thanks

@SapneshNaik
Copy link

The CWD parameter makes the git-bash to open in symphony/vendors/terminal folder, I understand that its expected behavior but how do I specified two directories up the CWD in parameters list

@zoe-zc
Copy link

zoe-zc commented Jan 9, 2019

It worked for me. It has plagued me for a long time. Thanks

@midknightmare666
Copy link

thanks !

@jamesmonsarvas
Copy link

Thanks!

@netgeek-sys
Copy link

Thanks

@mateus-azevedo
Copy link

Thanks, man!

@nguyenphuongduy124
Copy link

Thank you!

@govind663
Copy link

Thanks brother, it is working well..!!

@Ash6990
Copy link

Ash6990 commented Jan 6, 2023

I updated for Git 2.5+ (for windows 64bit)

Thanks for this brother it was helpful.

@wahyupambudi
Copy link

thanks bro, solved my param not config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment