Lambdacurry

Powershell Config


[sourcecode lang=“powershell”]

# this file is at C:\Documents and Settings\<username>\My Documents\WindowsPowerShell\profile.ps1

$Host.Ui.RawUi.BackGroundColor = “Black” cls set-location d:\ $oldPath = get-content Env:\Path; $env:INCLUDE=“C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\crt;”+ “C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include;” $env:LIB=“C:\Program Files\Microsoft Visual Studio 9.0\VC\lib;” + “C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib” $newPath = “C:\Program Files\Microsoft Visual Studio 9.0\VC\bin;” +$oldPath + ”;”+ “C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin” + ”;”+ “C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\win64” + ”;” + “C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\Bin” + ”;” + ”;” + “C:\Program Files\Vim\vim71”;

$env:LS_OPTIONS = “-bhAC —more —color=auto —recent —streams” set-alias ls “C:\WINDOWS\system32\ls.exe” -option allscope set-content Env:\Path $newPath;

[/sourcecode]


Lambdacurry

Powershell Config

Published

July 11, 2008

Find me on Twitter @sandeepssrin

Did i make any mistake? Please consider sending a pull request.