-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Copy link
Labels
Area-Maintainers-Buildspecific to affecting the buildspecific to affecting the buildIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugOS-WindowsResolution-FixedThe issue is fixed.The issue is fixed.
Description
Steps to reproduce
Install PS Core rc2 and at the select check the box to start PowerShell.
Find PowerShell Core in the task bar, right-click it and select "Pin to taskbar"Expected behavior
PowerShell Core as started by the installer, starts in my home dir.
PowerShell Core as started by the taskbar icon, starts in my home dir.
Actual behavior
PowerShell Core in both cases starts in C:\Program Files\PowerShell\6.0.0-rc.2.
I wind up having to edit the taskbar shortcut's properties to change the "Start in:" location to %USERPROFILE% - which works but I shouldn't have to do this. I suspect other folks will use the PS Core started by the installer as the easy means to get PS Core pinned to their taskbar.
If the installer could set the working dir to the current user's home dir before launching PowerShell, that would probably fix both scenarios.
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.0-rc.2
PSEdition Core
GitCommitId v6.0.0-rc.2
OS Microsoft Windows 10.0.16299
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0mklement0
Metadata
Metadata
Assignees
Labels
Area-Maintainers-Buildspecific to affecting the buildspecific to affecting the buildIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugOS-WindowsResolution-FixedThe issue is fixed.The issue is fixed.