-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.
Description
I have $env:PAGER set to less "-PPowerShell help page line %lt (press h for help or q to quit)" and on PS Core 6.1.0 on Windows 10 1809, PS Core uses less and gives me this nice footer during paging:
But in PS Core 6.2.0-preview.4 that same env var setting, causes more.com to be invoked. That is rather rude - ignoring my less preference.
Steps to reproduce
Set the following env var value.
$env:PAGER = 'less "-PPowerShell help page line %lt (press h for help or q to quit)"'Expected behavior
I get paging via less and with my desired footer.
Actual behavior
more.com is invoked instead.
Environment data
Name Value
---- -----
PSVersion 6.2.0-preview.4
PSEdition Core
GitCommitId 6.2.0-preview.4
OS Microsoft Windows 10.0.17763
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.
