•  

    July 2008
    M T W T F S S
        Aug »
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  

Include Cygwin in your PowerShell Environment (Vista)

Want to include your Cygwin environment in your Windows PowerShell on Vista?
Step 1.

Open PowerShell. Run:
set-executionpolicy RemoteSigned

Step 2.
Create a directory in your user profile:
mkdir c:\users\(profile)\Documents\WindowsPowerShell

Step 3.
Navigate to the above created directory, and create a new file called “Microsoft.Powershell_profile.ps1″
Step 4.
Edit the file in Notepad:
$env:path=$env:path+”;C:\cygwin\bin”
Step 5.
Include any other paths if necessary, or include other scripts and add-ons [...]