Skip to content

wsl-comfort: point the closing message and readme at names that exist - #120

Merged
AmirMS (AmelBawa-msft) merged 1 commit into
microsoft:mainfrom
26zl:pr/wsl-comfort-profile-name
Sep 29, 2026
Merged

AmirMS (AmelBawa-msft) merged 1 commit into
microsoft:mainfrom
26zl:pr/wsl-comfort-profile-name

Conversation

@26zl

Copy link
Copy Markdown
Contributor

I noticed this while reading through the wsl-comfort installer: its last line points at a profile name that does not exist.

src/wsl-comfort/install.ps1 creates the Windows Terminal profile as Comfort Shell - <distro> (Install-TerminalProfile) and prints Profile: Comfort Shell - <distro> in its summary, but the closing message a few lines later tells the user to open 'Comfort Shell 😎 (<distro>)', a profile that does not exist. Since it is the last line of the run, it is probably the one people act on.

src/wsl-comfort/readme.md says the NUL stripping for wsl -l -q lives in Get-WslSupportedDistros. I could not find a function by that name; the stripping is in Get-InstalledWslDistros (Get-SupportedUbuntuDistros is the other one, a static list that does not parse wsl -l -q).

Two Write-Host strings and one readme cell, no behaviour change. Only src/ is touched; the signed copy under wsl-comfort/ is left to the sign pipeline.

Thanks for having a look.

Install-TerminalProfile creates the Windows Terminal profile as
"Comfort Shell - <distro>" and prints that name in its summary, but the
closing message told the user to open "Comfort Shell 😎 (<distro>)",
which does not exist. The readme's caveats table said the NUL stripping
for "wsl -l -q" lives in Get-WslSupportedDistros; the function is
Get-InstalledWslDistros.
@AmelBawa-msft
AmirMS (AmelBawa-msft) merged commit 501caa5 into microsoft:main Sep 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants