Skip to content

Show the actual PowerShell profile path during onboarding shell-completion setup #44296

@aniruddhaadak80

Description

@aniruddhaadak80

Problem

resolveProfileHint() in src/wizard/onboarding.completion.ts falls back to $PROFILE for PowerShell instead of resolving the actual profile path.

Why It Matters

  • New Windows users get a generic hint instead of a concrete file path.
  • The reload guidance is less actionable than the zsh/bash/fish branches.
  • PowerShell profile locations can vary, which makes a generic placeholder harder to verify.

Suggested Direction

Resolve and show the actual PowerShell profile path when shell completion is installed, and consider giving a concrete reload command when safe.

Example goals:

  • show the full path behind $PROFILE
  • provide a precise reload hint when applicable
  • keep the UX consistent with other shell onboarding flows

Acceptance Criteria

  • PowerShell completion onboarding prints a concrete profile location.
  • The reload message is specific and actionable.
  • The implementation is covered by a small Windows-focused test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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