Skip to content

Commit

Permalink
!deploy v0.1.5 with a couple fixes and new features
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
scrthq committed Aug 23, 2019
1 parent e457f97 commit a725e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PSProfile/Classes/PSProfile.Classes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a725e0b

Please sign in to comment.