Robert923 / vscode-start-git-bash

Adds a 'bash' command to VSCode that allows you to start git-bash in the current workspace's root folder.
MIT License
8 stars 11 forks source link

Open git-bash.exe in current active file path (v1.1.0) #4

Closed leotm closed 7 years ago

leotm commented 7 years ago

Equivalent to:

Robert923 commented 7 years ago

Hah! I was working on adding your suggestion as well. I think in src/extension.ts line 24 there's a possibility to crash if there's no open file. Also, the new version I just pushed will still fall-back to the workspace root if there's no open file.

I did use your path code though to get the directory and I've published the new version.

Thanks @leotm!

Robert923 commented 7 years ago

Implemented

leotm commented 7 years ago

Ahh you got me 🙌 well spotted. Tested and lookin' good. Appreciate the mention!

leotm commented 7 years ago

Also requested https://github.com/Microsoft/vscode/issues/15991 may be a while😴