-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide Windows Terminal Fragment Extension #3183
Comments
@Okeanos since you seem to be quite familiar with this topic (and I am not at all familiar with it), would you mind opening a PR to add support to the installer? Here is how to get started with this project:
|
Well … I can look into it – no promises on anything that actually works, though. |
That should probably be "Git Bash" so people can differentiate it from things like WSL bash, cygwin bash, ...
According to microsoft, we should just create the directory if the user wants us to create a fragment and the directory doesn't exist.
|
I had a very quick look at the |
I guess you could add the fragment as a file into the |
I can see why. Let's give it a quick breakdown. The file is divided into the following sections:
|
@rimrul that is an incredibly good high-level overview of the installer definition. Maybe we could integrate this into the |
That's a good idea, but it's a little specific to this issue in some spots and leaves out some details like the |
As the PR was just merged, I'll close this here ticket. |
Details
With the latest stable release of Microsoft Terminal a new feature was rolled out called Profile fragments. This can be used by third party applications to let Terminal know they exist.
It would very cool if Git for Windows could (optionally) supply a fragment describing itself to Terminal so the Git Bash can be launched inside Terminal without additional, manual setup.
Based on prior experience with setting up Git Bash inside Terminal (and cross checking with Stack Overflow) I think a minimal fragment might look like this:
I assume this is contingent on the installer checking availability of the paths mentioned in the fragment documentation before asking the user whether or not to register a default profile.
The text was updated successfully, but these errors were encountered: