-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- Add dynamically generated Get-ProfileHelp (gprh).
- Replace old build script to build from more granular include scripts.
Simplify parameters:- Drop dot-sourcing option.
- Only allow scope selection for
CurrentUser/AllUsers
. DetermineCurrentHost/AllHosts
in the script if variants are necessary. - Add an option to just output the generated profile script without updating the profile itself.
- Prepare for conditional includes targeting Windows PowerShell 5.1 vs. PowerShell.
- Write generated profile only if changed.
- Add key bindings for PSReadLine. Note that a fixed version of PSReadline is included with the VSCode PowerShell extensions and cannot be updated to the latest version.
However, it is possible to copy the latest version from the original module path to%USERPROFILE%/.vscode/extensions/ms-vscode.powershell-2023.6.0/modules/PSReadLine"
. This forces the extension to use the new version. Whether this may have any side effects is a different matter. EDIT: As of 2023.8.0, the extension uses 2.3.4 by default. - Add preferences:
$ErrorActionPreference = 'Stop'
,Set-StrictMode -Version 3
Metadata
Metadata
Assignees
Labels
No labels