Permalink
Browse files

Revert "Adjust function scoping"

This reverts commit da35c2c.
  • Loading branch information...
1 parent b30f998 commit 133fba14a73a819cb2cfe9475295bc2b4ab07b27 @dahlbyk committed Mar 25, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 GitPrompt.ps1
  2. +1 −1 GitTabExpansion.ps1
  3. +2 −2 profile.example.ps1
View
@@ -27,7 +27,7 @@ $global:GitPromptSettings = New-Object PSObject -Property @{
UntrackedBackgroundColor = $Host.UI.RawUI.BackgroundColor
}
-function global:Write-GitStatus($status) {
+function Write-GitStatus($status) {
if ($status) {
$s = $global:GitPromptSettings
View
@@ -62,7 +62,7 @@ function script:gitAliases($filter) {
$aliasList | Sort
}
-function global:GitTabExpansion($lastBlock) {
+function GitTabExpansion($lastBlock) {
switch -regex ($lastBlock) {
# Handles git branch -d|-D <branch name>
'git branch -(d|D) (\S*)$' {
View
@@ -2,10 +2,10 @@ Push-Location (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent)
# Git utils
. ./GitUtils.ps1
-./GitPrompt.ps1
+. ./GitPrompt.ps1
# Use Git tab expansion
-./GitTabExpansion.ps1
+. ./GitTabExpansion.ps1
Pop-Location

0 comments on commit 133fba1

Please sign in to comment.