-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Create a doc for adding common third-party tools #3353
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Adding profiles for third-party tools | ||
|
||
This doc will hopefully provide a useful guide for adding profiles for common | ||
third-party tools to your | ||
[profiles.json](https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md) | ||
file. | ||
|
||
All of these profiles are provided _without_ their `guid` set. If you'd like to | ||
set any of these profiles as your _default_ profile, you'll need to make sure to | ||
[generate a unique guid](https://www.guidgenerator.com/) for them manually. | ||
|
||
## Anaconda | ||
|
||
Assuming that you've installed Anaconda into `%USERPROFILE%\Anaconda3`: | ||
|
||
```json | ||
{ | ||
"commandline" : "cmd.exe /K %USERPROFILE%\\Anaconda3\\Scripts\\activate.bat %USERPROFILE%\\Anaconda3", | ||
"icon" : "%USERPROFILE%/Anaconda3/Menu/anaconda-navigator.ico", | ||
"name" : "Anaconda3", | ||
"startingDirectory" : "%USERPROFILE%" | ||
} | ||
``` | ||
|
||
## cmder | ||
|
||
Assuming that you've installed cmder into `%CMDER_ROOT%`: | ||
|
||
```json | ||
{ | ||
"commandline" : "cmd.exe /k %CMDER_ROOT%\\vendor\\init.bat", | ||
"name" : "cmder", | ||
"startingDirectory" : "%USERPROFILE%" | ||
} | ||
``` | ||
|
||
## Cygwin | ||
|
||
Assuming that you've installed Cygwin into `C:/Cygwin`: | ||
|
||
```json | ||
{ | ||
"name" : "Cygwin", | ||
"commandline" : "C:/Cygwin/bin/bash --login -i", | ||
"icon" : "C:/Cygwin/Cygwin.ico", | ||
"startingDirectory" : "C:/Cygwin/bin" | ||
} | ||
``` | ||
|
||
Note that the starting directory of Cygwin is set as it is to make the path | ||
work. The default directory opened when starting Cygwin will be `$HOME` because | ||
of the `--login` flag. | ||
|
||
## Git Bash | ||
|
||
Assuming that you've installed Git Bash into `C:/Program Files/Git`: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. show x86 variant too? |
||
|
||
```json | ||
{ | ||
"name" : "Git Bash", | ||
"commandline" : "C:/Program Files/Git/bin/bash.exe", | ||
"icon" : "C:/Program Files/Git/mingw64/share/git/git-for-windows.ico", | ||
"startingDirectory" : "%USERPROFILE%" | ||
} | ||
```` | ||
|
||
<!-- Adding a tool here? Make sure to add it in alphabetical order! --> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this an env var that it sets on installation or something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm presuming, I don't totally know. I got that one from another thread :P