From 6978bb7417293119a4769de3ffc744a71e1cb14f Mon Sep 17 00:00:00 2001 From: liftir Date: Fri, 8 Apr 2016 21:21:38 -0400 Subject: [PATCH] Fix missing "\" when building dirpath to psmodules Join-Path won't add "\"'s without the use of a delimeter. In this case there is no delimiter and as a result the script will fail when it tries to look up $CmderModulePath. --- vendor/profile.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/profile.ps1 b/vendor/profile.ps1 index 0d830f5..a108281 100644 --- a/vendor/profile.ps1 +++ b/vendor/profile.ps1 @@ -18,7 +18,7 @@ if(!$PSScriptRoot) { } # Add Cmder modules directory to the autoload path. -$CmderModulePath = Join-path $PSScriptRoot "psmodules/" +$CmderModulePath = Join-path $PSScriptRoot "\psmodules/" if( -not $env:PSModulePath.Contains($CmderModulePath) ){ $env:PSModulePath = $env:PSModulePath.Insert(0, "$CmderModulePath;")