Skip to content
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

Terminal no longer auto-generates a profile for PowerShell 7 when installed via winget. #18618

Open
ninbura opened this issue Feb 24, 2025 · 4 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@ninbura
Copy link

ninbura commented Feb 24, 2025

Windows Terminal version

1.21.10351.0

Windows build number

Microsoft Windows NT 10.0.26100.0

Other Software

No response

Steps to reproduce

  1. install Windows 11
  2. open Windows Terminal
  3. install PowerShell 7 via winget
    • winget install Microsoft.PowerShell
  4. restart Windows Terminal
  5. observe that PowerShell 7 profile was not created

Expected Behavior

When PowerShell 7 is installed via winget, Microsoft Terminal should automatically generate a profile for it.

Actual Behavior

When PowerShell 7 is installed via winget, Microsoft Terminal does not generate a profile for it.

@ninbura ninbura added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Feb 24, 2025
@ninbura
Copy link
Author

ninbura commented Feb 24, 2025

Another user reported this issue on the PowerShell GitHub repository 2 days ago (PowerShell/PowerShell#21289 (comment)). This was not an issue until recently, as it was working as expected only a few weeks ago.

@ninbura
Copy link
Author

ninbura commented Feb 24, 2025

When you Install PowerShell 7 via the releases section of the PowerShell repository a profile is generated.

The specific release I tested (PowerShell-7.5.0-win-x64.msi):
https://github.com/PowerShell/PowerShell/releases/tag/v7.5.0

@kastentop2005
Copy link

Hello. I reinstalled Windows and was surprised it doesn't do this anymore

@barndawgie
Copy link

Same thing for me. Just did a clean Windows install, then installed PowerShell from an elevated cmd.exe prompt using winget. When I open Terminal there is no profile added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

3 participants