Added quotes around cmd.exe launch to prevent problems with spaces in the path. Added powershell arguments for default profile script and to not load the windows level profile. Added CMDER_ROOT to powershell arg. Added powershell script and script dump folder, which contains a script definition to mirror cmd's prompt style.

This commit is contained in:
kjerk
2013-12-01 04:59:53 -08:00
parent 74930bdf6e
commit 27ccd2d065
3 changed files with 20 additions and 9 deletions

View File

@ -0,0 +1,4 @@
# Autoinclude every .ps1 script in the autorun folder.
Get-ChildItem -Filter *.ps1 -File "$PSScriptRoot\autorun\" | ForEach-Object {
. $_.FullName
}

View File

@ -0,0 +1,7 @@
# Define cmder prompt.
function prompt()
{
Write-Host -ForegroundColor Green "$PWD "
Write-Host -NoNewline -ForegroundColor DarkGray "λ"
return " "
}