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 [...]
Filed under: Linux, Windows | Tagged: cygwin, powershell, Vista, Windows | Leave a Comment »