From 07180effac5ce9759d05b986be2ab654c2eebf21 Mon Sep 17 00:00:00 2001 From: Pireax Date: Thu, 15 Oct 2015 11:47:32 +0200 Subject: [PATCH] Fixed problem with Invoke-Expression --- vendor/profile.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/profile.ps1 b/vendor/profile.ps1 index cc7e753..88abb61 100644 --- a/vendor/profile.ps1 +++ b/vendor/profile.ps1 @@ -74,7 +74,7 @@ $env:Path = "$Env:CMDER_ROOT\bin;$env:Path;$Env:CMDER_ROOT" $CmderUserProfilePath = Join-Path $env:CMDER_ROOT "config/user-profile.ps1" if(Test-Path $CmderUserProfilePath) { # Create this file and place your own command in there. - Invoke-Expression $CmderUserProfilePath + . "$CmderUserProfilePath" } else { Write-Host "Creating user startup file: $CmderUserProfilePath" "# Use this file to run your own startup commands" | Out-File $CmderUserProfilePath