Skip to content

Windows Terminal, "Comfort Shell - Ubuntu" created next to "Ubuntu" profile #67

Description

@wdolek

I was following steps in README, and on fresh Windows 11 I started with windows-dev-config which installed WSL with Ubuntu. After this step, I had Windows Terminal Profiles: "PowerShell", "Ubuntu", "Command Prompt" (and few others I hid).

Once windows-dev-config finished, I started "Ubuntu" to create my user account in it. Then I proceeded with wsl-comfort.

There was no error during install, however at the end I ended up with duplicate entry in Windows Terminal profiles:

  • PowerShell
  • Ubuntu
  • Command Prompt
  • Comfort Shell - Ubuntu ← this was added

I tried to run both Ubuntu and Comfort Shell and I can't spot a difference - same color scheme, same font face & size. Both use "Ubuntu" WSL distro, color scheme is the same, only difference is caret, Ubuntu uses , while Comfort Shell |.

        "defaults": 
        {
            "font": 
            {
                "face": "FiraCode Nerd Font Mono",
                "size": 10
            }
        },
        "list": 
        [
            {
                "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
                "hidden": false,
                "name": "PowerShell",
                "source": "Windows.Terminal.PowershellCore"
            },
            {
                "colorScheme": "Comfort Shell Dark",
                "guid": "{a83fae36-6b7f-5ede-890f-3696bf751646}",
                "hidden": false,
                "name": "Ubuntu",
                "source": "Microsoft.WSL"
            },
            {
                "commandline": "%SystemRoot%\\System32\\cmd.exe",
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "hidden": false,
                "name": "Command Prompt"
            },
            {
                "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "hidden": true,
                "name": "Windows PowerShell"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": true,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            },
            {
                "guid": "{b9471bcd-1d41-0698-65e5-57b480a18442}",
                "hidden": false,
                "name": "Comfort Shell - Ubuntu",
                "source": "ComfortShell"
            }
        ]

I can see there's "C:\Users\le_me\appdata\Local\Microsoft\Windows Terminal\Fragments\ComfortShell\comfort-shell-ubuntu.fragment.json" containing:

{
  "profiles": [
    {
      "font": {
        "face": "Cascadia Mono NF",
        "size": 13
      },
      "commandline": "wsl.exe -d Ubuntu",
      "guid": "{b9471bcd-1d41-0698-65e5-57b480a18442}",
      "startingDirectory": "~",
      "hidden": false,
      "colorScheme": "Comfort Shell Dark",
      "icon": "😎",
      "name": "Comfort Shell - Ubuntu",
      "cursorShape": "bar"
    }
  ],
  "schemes": [
    {
      "brightRed": "#F38BA8",
      "cursorColor": "#A6E3A1",
      "selectionBackground": "#45475A",
      "brightYellow": "#F9E2AF",
      "brightWhite": "#A6ADC8",
      "cyan": "#94E2D5",
      "white": "#BAC2DE",
      "brightBlue": "#89B4FA",
      "yellow": "#F9E2AF",
      "brightPurple": "#CBA6F7",
      "brightBlack": "#585B70",
      "blue": "#89B4FA",
      "name": "Comfort Shell Dark",
      "purple": "#CBA6F7",
      "brightGreen": "#A6E3A1",
      "background": "#1E1E2E",
      "red": "#F38BA8",
      "brightCyan": "#94E2D5",
      "black": "#45475A",
      "foreground": "#CDD6F4",
      "green": "#A6E3A1"
    }
  ]
}

Ubuntu profile:

Image

Comfort Shell profile:

Image

This is not about any bug or issue. I'm just questioning presence of second Windows Terminal profile using same underlying WSL distro. Should I hide "Ubuntu"? Should I remove "Comfort Shell"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions