-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Multiple WSLs & Theme #4398
Comments
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"profiles": [
{
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "cmd",
"commandline": "cmd.exe",
"hidden": false
},
{
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6102}",
"name": "cmd",
"commandline": "cmd.exe",
"hidden": false,
"colorScheme": "Solarized Dark"
},
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"hidden": false,
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl",
"colorScheme": "Solarized Light"
},
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f519}",
"hidden": false,
"name": "Ubuntu Two",
"source": "Windows.Terminal.Wsl",
"colorScheme": "Solarized Dark"
},
{
// Make changes here to the powershell.exe profile
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
}
],
// Add custom color schemes to this array
"schemes": [],
// Add any keybinding overrides to this array.
// To unbind a default keybinding, set the command to "unbound"
"keybindings": []
} |
@DHowett-MSFT We've had this discussion before - should we put the |
If we put the commandline in, it'll be subject to the same rules that we run afoul of with the |
Found out I can change bashrc so I can set QA servers to have a specific color prompt and Prod servers another, which basically solves what I was trying to achieve :) |
Fair enough. Thanks for following up! |
I think the workaround is to replace |
Environment
Windows 10 Pro 1909 18363.592
Any other software?
Steps to reproduce
Use the attached profiles.json
Expected behavior
Multiple WSLs should be in the dropdown. It works for CMD. The idea is to have different WSLs for when I need to access QA / Prod, to use the theme to differentiate where I'm logged into.
Actual behavior
Only one WSL in the dropdown. It works for CMD, although the second cmd is missing it's icon.
The text was updated successfully, but these errors were encountered: