File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ if (Get-Module -ListAvailable -Name 'posh-git') {
20
20
. (Join-Path $profileDir posh- git.profile.ps1)
21
21
}
22
22
23
+ if (Test-Path " ${Env: USERPROFILE} \.jabba\jabba.ps1" ) {
24
+ . " ${Env: USERPROFILE} \.jabba\jabba.ps1"
25
+ }
26
+ . (Join-Path $profileDir jabba- upgrade.ps1)
27
+
23
28
# Alias
24
29
Remove-Item Alias:cat
25
30
Remove-Item - Force Alias:diff
Original file line number Diff line number Diff line change
1
+
2
+ function jabba-upgrade
3
+ {
4
+ Invoke-Expression (
5
+ # Workaround URL until PS 6.0
6
+ Invoke-WebRequest https:// github.com / kxbmap/ jabba/ raw/ ps- utf8/ install.ps1 - UseBasicParsing
7
+ ).Content
8
+ }
Original file line number Diff line number Diff line change 15
15
' Pscx.UserPreferences.ps1' = $profileDir ;
16
16
' PSReadlineProfile.ps1' = $profileDir ;
17
17
' posh-git.profile.ps1' = $profileDir ;
18
+ ' jabba-upgrade.ps1' = $profileDir ;
18
19
' .sbtrc' = $home ;
19
20
' .gitconfig' = $home ;
20
21
} | % { $_.GetEnumerator () } | % {
You can’t perform that action at this time.
0 commit comments