Skip to content

Instantly share code, notes, and snippets.

@sandorjanssen
Created July 15, 2014 08:42
Show Gist options
  • Save sandorjanssen/7f8abbfdf095f5669dc2 to your computer and use it in GitHub Desktop.
Save sandorjanssen/7f8abbfdf095f5669dc2 to your computer and use it in GitHub Desktop.
Powershell profile (edit using vim $profile) incl. .NET, Visual Studio, Azure, etc. tools
$env:path = $env:path + ";C:\Windows\Microsoft.NET\Framework64\v4.0.30319"
$env:path = $env:path + ";C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE"
$env:path = $env:path + ";C:\Program Files (x86)\Vim\vim73"
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1")
& 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat' x86
# Change the prompt to show only the current folder using a different color
function prompt {
$p = Split-Path -leaf -path (Get-Location)
Write-Host "$p> " -nonewline -foregroundcolor Green
return ' '
}
& "C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\ServiceManagement\Azure\Services\ShortcutStartup.ps1"
cd D:\Development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment