forked from dahlbyk/posh-git
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathposh-git.psm1
More file actions
32 lines (28 loc) · 822 Bytes
/
Copy pathposh-git.psm1
File metadata and controls
32 lines (28 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
if (Get-Module posh-git) { return }
Push-Location $psScriptRoot
.\CheckVersion.ps1 > $null
. ./Utils.ps1
. ./GitUtils.ps1
. ./GitPrompt.ps1
. ./GitPromptAsync.ps1
. ./GitTabExpansion.ps1
. ./TortoiseGit.ps1
Pop-Location
if (!$Env:HOME) { $Env:HOME = "$Env:HOMEDRIVE$Env:HOMEPATH" }
if (!$Env:HOME) { $Env:HOME = "$Env:USERPROFILE" }
Export-ModuleMember -Function @(
'Write-GitStatus',
'Get-GitStatus',
'Start-GitPrompt',
'Update-GitPromptRepositories',
'Publish-GitPromptRepositoryUpdated',
'Stop-GitPrompt',
'Get-GitPromptStatus',
'Enable-GitColors',
'Get-GitDirectory',
'TabExpansion',
'Get-AliasPattern',
'Start-SshAgent',
'Stop-SshAgent',
'Add-SshKey',
'tgit')