Permalink
Browse files

Changes the default profile example to set prompt globally instead of…

… locally
  • Loading branch information...
1 parent c12af19 commit 22f4e7715e1e117547e5dec1ee6c2b8dccaeb2e8 Peter Stephenson committed May 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 profile.example.ps1
View
@@ -9,7 +9,7 @@ Import-Module .\posh-git
# Set up a simple prompt, adding the git prompt parts inside git repos
-function prompt {
+function global:prompt {
$realLASTEXITCODE = $LASTEXITCODE
# Reset color, which can be messed up by Enable-GitColors

0 comments on commit 22f4e77

Please sign in to comment.