fixed vendor\profile.ps1 profile.d - added post popd

This commit is contained in:
Dax T. Games 2016-03-02 17:52:12 -06:00
parent d6eec2f3a5
commit 8dbbb902d9

3
vendor/profile.ps1 vendored
View File

@ -99,9 +99,10 @@ if (-not (test-path "$ENV:CMDER_ROOT\config\profile.d")) {
pushd $ENV:CMDER_ROOT\config\profile.d pushd $ENV:CMDER_ROOT\config\profile.d
foreach ($x in ls *.ps1) { foreach ($x in ls *.ps1) {
# write-host Sourcing $ENV:CMDER_ROOT\config\profile.d\$x # write-host write-host Sourcing $x
. $x . $x
} }
popd
$CmderUserProfilePath = Join-Path $env:CMDER_ROOT "config\user-profile.ps1" $CmderUserProfilePath = Join-Path $env:CMDER_ROOT "config\user-profile.ps1"
if(Test-Path $CmderUserProfilePath) { if(Test-Path $CmderUserProfilePath) {