PSProfile v0.2.0
Changelog
0.2.0 - 2019-09-02
- Issue #2
- Added special module import process when the
ModuleToImport
isEditorServicesCommandSuite
so it also automatically registers the available editor commands.
- Added special module import process when the
- Issue #12
- Added
Start-PSProfileConfigurationHelper
to provide an easy way to get started with configuring your PSProfile.
- Added
- Issue #6
- Added
PSReadline
key to$PSProfile.Settings
(Settings management in development still.)
- Added
- Miscellaneous
- Added support for multiple Command Aliases to be removed at once with
Remove-PSProfileCommandAlias
. - Updated default
SCRTHQ
prompt that comes with the module. - Added support for NerdFonts and PowerLine switches on the prompts to switch char sets depending on the FontType.
- Added
IncludeVault
switch parameter toExport-PSProfileConfiguration
to prevent exporting the Secrets Vault by default when creating portable configurations. - Added
_cleanModules()
method to PSProfile class to remove any null or empty values hanging over and convert any string values to the full hashtable value instead. - Cleaned up logic and fixed bugs in the following functions:
Add-PSProfileModuleToImport
Remove-PSProfileModuleToImport
Add-PSProfileModuleToInstall
Remove-PSProfileModuleToInstall
Add-PSProfilePlugin
- Updated CONTRIBUTING.md with snippet to include for PSProfile developers on their PowerShell profile.
- Refactored
Get-PSProfilePrompt
to return$null
if a name is specified but does not exist on the current PSProfile configuration. - Refactored
$PSProfile._loadConfiguration()
to start with the base value of$Global:PSProfile
if present, otherwise import the existing configuration from file. This is necessary to retain the existing configuration if an action is taken that forces the PSProfile to reload, e.g. adding a new plugin to the configuration. - Updated
$PSProfile._loadPrompt()
method to set the value of$function:prompt
directly instead of callingSwitch-PSProfilePrompt
to reduce overhead.
- Added support for multiple Command Aliases to be removed at once with
Instructions
IMPORTANT: You MUST have the following modules installed as a prerequisite to using this module, otherwise the module will fail to import! Installing the module from the repo source or the release page does not automatically install dependencies!!
Module Dependencies:
- Click here to download the PSProfile.zip file attached to the release.
- If on Windows: Right-click the downloaded zip, select Properties, then unblock the file.
This is to prevent having to unblock each file individually after unzipping.
- Unzip the archive.
- (Optional) Place the module folder somewhere in your
PSModulePath
.You can view the paths listed by running the environment variable
$env:PSModulePath
- Import the module, using the full path to the PSD1 file in place of
PSProfile
if the unzipped module folder is not in yourPSModulePath
:# In $env:PSModulePath Import-Module PSProfile # Otherwise, provide the path to the manifest: Import-Module -Path C:\MyPSModules\PSProfile\0.2.0\PSProfile.psd1