Created
January 12, 2012 13:49
-
-
Save andrewrjones/1600609 to your computer and use it in GitHub Desktop.
My PowerShell profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import PowerShell Community Extensions | |
# Available from http://pscx.codeplex.com/ | |
$pscx = Get-Module -List Pscx | |
if($m){Import-Module Pscx} | |
Set-Alias open Invoke-Item | |
Set-Alias vi gvim # because I forget... | |
function prompt | |
{ | |
# set the window title to the path | |
$host.ui.RawUI.WindowTitle = $(get-location) | |
# change the colour of the prompt | |
Write-Host ("PS" + ">") -nonewline -foregroundcolor Gray | |
# return a String | |
return " " | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment