Skip to content

Commit 1015257

Browse files
Merge pull request #45 from PowershellFrameworkCollective/Development
2.0.4
2 parents b20bbdb + dd313e9 commit 1015257

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

PSUtil/PSUtil.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ModuleToProcess = 'PSUtil.psm1'
44

55
# Version number of this module.
6-
ModuleVersion = '2.0.3'
6+
ModuleVersion = '2.0.4'
77

88
# ID used to uniquely identify this module
99
GUID = '9ef51588-c40c-4064-910d-9b624b758cf6'

PSUtil/changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## Version 2.0.4 (2018-12-23)
3+
- Fix: Persisting default aliases redirection fails
4+
25
## Version 2.0.3 (2018-12-23)
36
- New: Configuration setting 'PSUtil.Import.Alias.SystemOverride'. Persisting this will have PSUtil replace system default aliases.
47
- New: Tab Expansion for PowerShellGet

PSUtil/internal/functions/Import-PSUAlias.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
$Command
2929
)
3030

31-
if ((-not (Test-Path alias:$name)) -and (Get-PSFConfigValue -FullName PSUtil.Import.Aliases.$name -Fallback $true))
31+
if (((-not (Test-Path alias:$name)) -or ($Name -eq "Select") -or ($Name -eq "gm")) -and (Get-PSFConfigValue -FullName PSUtil.Import.Aliases.$name -Fallback $true))
3232
{
3333
New-Alias -Name $Name -Value $Command -Force -Scope Global
3434
}

0 commit comments

Comments
 (0)