From 44bc089ee4dbf3a9fef864f5909de7c38ff2d376 Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 14:14:47 -0500 Subject: [PATCH] move lambda to cmder prompt method for easier user change --- vendor/profile.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/profile.ps1 b/vendor/profile.ps1 index 87c7301..ad9182a 100644 --- a/vendor/profile.ps1 +++ b/vendor/profile.ps1 @@ -67,6 +67,7 @@ $env:gitLoaded = $false if (get-command git -erroraction silentlycontinue) { checkGit($pwd.ProviderPath) } + Microsoft.PowerShell.Utility\Write-Host "`nλ " -NoNewLine -ForegroundColor "DarkGray" } # Enhance Path @@ -156,7 +157,6 @@ if ( $(get-command prompt).Definition -match 'PS \$\(\$executionContext.SessionS $host.UI.RawUI.WindowTitle = Microsoft.PowerShell.Management\Split-Path $pwd.ProviderPath -Leaf PrePrompt | Microsoft.PowerShell.Utility\Write-Host -NoNewline CmderPrompt - Microsoft.PowerShell.Utility\Write-Host "`nλ " -NoNewLine -ForegroundColor "DarkGray" PostPrompt | Microsoft.PowerShell.Utility\Write-Host -NoNewline $global:LASTEXITCODE = $realLASTEXITCODE return " "