question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Git Bash shell integration automatic injection

See original GitHub issue

There are various issues regarding integration for various shells, but for Windows it’s limited to standalone pwsh, and there are open issue for WSL.

So request here is to support Git Bash as well as it’s go to terminal if you install Git for Windows.

Are there plans to support it in near future?

/cc @Tyriar

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Tyriarcommented, Feb 23, 2022

I’m hesitant committing to this as weird things often happen with how git bash interacts with conpty. Could be a good community contribution though.

I tried setting up a profile based on the existing bash script:

"Git Bash+": {
  "source": "Git Bash",
  "args": ["--init-file", "C:\\Github\\microsoft\\vscode\\src\\vs\\workbench\\contrib\\terminal\\browser\\media\\shellIntegration-bash.sh"]
},

It does look like the sequences get through correctly, the same problems as on wsl (https://github.com/microsoft/vscode/issues/143761) with decorations are happening though:

image

So I’d expect the work here to include:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Terminal Shell Integration in Visual Studio Code
By default, the shell integration script should automatically activate on supported shells launched from VS Code. This is done by injecting arguments and/or ......
Read more >
How do I use Bash on Ubuntu on Windows (WSL) for my VS ...
What's a simple way to have a reliable WSL terminal environment for VS Code where most frequently used tools will run when installed...
Read more >
Working on Git Bash - GeeksforGeeks
A shell is a terminal application used to interface with an operating system through written commands. Git Bash is a package that installs...
Read more >
Environments and deployments - GitLab Documentation
If you deploy to your environments with the help of a deployment service (for example, the Kubernetes integration), GitLab can open a terminal...
Read more >
vscode "shell integration failed to activate" - You.com
By default, the shell integration script should automatically activate on supported shells launched from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found