Read a local.ps1 file
This commit is contained in:
parent
3b3918dc22
commit
3e8888517d
1 changed files with 6 additions and 0 deletions
|
@ -110,3 +110,9 @@ if ($PSVersionTable.PSVersion -ge [System.Version]"7.2.0.0") {
|
||||||
Variable = $AnsiReset;
|
Variable = $AnsiReset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Keep this at the end.
|
||||||
|
$LocalProfilePath = Join-Path -Path "$PSScriptRoot" -ChildPath "local.ps1"
|
||||||
|
if (Test-Path $LocalProfilePath -PathType Leaf) {
|
||||||
|
. $LocalProfilePath
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue