From a725e0bf4a29a645291d46012b5c801bd7ffbc6a Mon Sep 17 00:00:00 2001 From: Nate Ferrell Date: Thu, 22 Aug 2019 22:38:37 -0500 Subject: [PATCH] !deploy v0.1.5 with a couple fixes and new features ## 0.1.5 - 2019-08-22 * Added `Export-PSProfileConfiguration` to export your configuration to a portable file. * Fixed bug with `Edit-PSProfilePrompt` that tried to run a non-existent function after editing was finished. * Swapped the `Temporary` switch parameter with `Save` on `Edit-PSProfilePrompt` to align with the rest of the functions. * Updated the `_loadPrompt()` method on the `$PSProfile` object to not force load a default prompt if a default prompt name has not been specified yet. * Updated README with better details. * Updated Wiki content. * Updated CONTRIBUTING.md. --- PSProfile/Classes/PSProfile.Classes.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PSProfile/Classes/PSProfile.Classes.ps1 b/PSProfile/Classes/PSProfile.Classes.ps1 index 5b5b776..a138099 100644 --- a/PSProfile/Classes/PSProfile.Classes.ps1 +++ b/PSProfile/Classes/PSProfile.Classes.ps1 @@ -286,7 +286,7 @@ class PSProfile { "LoadPrompt", "Debug" ) - if ($null -ne $this.Settings.DefaultPrompt) { + if (-not [String]::IsNullOrEmpty($this.Settings.DefaultPrompt)) { $this._log( "Loading default prompt: $($this.Settings.DefaultPrompt)", "LoadPrompt",