2019-11-06 22:14:43 +01:00
|
|
|
# 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
|
|
|
|
{
|
2020-02-18 19:43:50 +01:00
|
|
|
"commandline" : "cmd.exe /k \"%USERPROFILE%\\Anaconda3\\Scripts\\activate.bat %USERPROFILE%\\Anaconda3\"",
|
2019-11-06 22:14:43 +01:00
|
|
|
"icon" : "%USERPROFILE%/Anaconda3/Menu/anaconda-navigator.ico",
|
|
|
|
"name" : "Anaconda3",
|
|
|
|
"startingDirectory" : "%USERPROFILE%"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## cmder
|
|
|
|
|
|
|
|
Assuming that you've installed cmder into `%CMDER_ROOT%`:
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2020-02-18 19:43:50 +01:00
|
|
|
"commandline" : "cmd.exe /k \"%CMDER_ROOT%\\vendor\\init.bat\"",
|
2019-11-06 22:14:43 +01:00
|
|
|
"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.
|
|
|
|
|
2020-01-16 00:35:18 +01:00
|
|
|
## Far Manager
|
|
|
|
|
|
|
|
Assuming that you've installed Far into `c:\Program Files\Far Manager`:
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"name" : "Far",
|
|
|
|
"commandline" : "\"c:\\program files\\far manager\\far.exe\"",
|
|
|
|
"startingDirectory" : "%USERPROFILE%",
|
|
|
|
"useAcrylic" : false
|
|
|
|
},
|
|
|
|
```
|
|
|
|
|
2019-11-06 22:14:43 +01:00
|
|
|
## Git Bash
|
|
|
|
|
|
|
|
Assuming that you've installed Git Bash into `C:/Program Files/Git`:
|
|
|
|
|
|
|
|
```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%"
|
|
|
|
}
|
|
|
|
````
|
|
|
|
|
2020-03-23 18:30:52 +01:00
|
|
|
## MSYS2
|
|
|
|
|
|
|
|
Assuming that you've installed MSYS2 into `C:/msys64`:
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"name" : "MSYS2",
|
|
|
|
"commandline" : "C:/msys64/msys2_shell.cmd -defterm -no-start -mingw64",
|
|
|
|
"icon": "C:/msys64/msys2.ico",
|
|
|
|
"startingDirectory" : "C:/msys64/home/user"
|
|
|
|
}
|
|
|
|
````
|
|
|
|
|
2019-11-06 22:14:43 +01:00
|
|
|
<!-- Adding a tool here? Make sure to add it in alphabetical order! -->
|