Skip to content

Commit 4e6e99e

Browse files
committed
fix some urls
1 parent 92d4cc4 commit 4e6e99e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Microsoft.PowerShell_profile.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ If you have further questions, on how to set the above, don't hesitate to ask me
4343

4444
$scriptBlock = {
4545
param($githubUser, $files, $baseDir, $canConnectToGitHub)
46-
Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/dotfiles/main/pwsh/pwsh_helper.ps1" -UseBasicParsing).Content
46+
Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/unix-pwsh/main/pwsh_helper.ps1" -UseBasicParsing).Content
4747
BackgroundTasks
4848
}
4949

@@ -54,7 +54,7 @@ $scriptBlock = {
5454

5555
# Function for calling the update Powershell Script
5656
function Run-UpdatePowershell {
57-
. Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/dotfiles/main/pwsh/pwsh_helper.ps1" -UseBasicParsing).Content
57+
. Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/unix-pwsh/main/pwsh_helper.ps1" -UseBasicParsing).Content
5858
Update-Powershell
5959
}
6060
# ----------------------------------------------------------------------------
@@ -117,9 +117,9 @@ if ($PSVersionTable.PSVersion.Major -lt 7) {
117117
} else {
118118
if ($global:canConnectToGitHub) {
119119
#Load Custom Functions
120-
. Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/dotfiles/main/pwsh/custom_functions.ps1" -UseBasicParsing).Content
120+
. Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/unix-pwsh/main/custom_functions.ps1" -UseBasicParsing).Content
121121
#Load Functions
122-
. Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/dotfiles/main/pwsh/functions.ps1" -UseBasicParsing).Content
122+
. Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/unix-pwsh/main/functions.ps1" -UseBasicParsing).Content
123123
# Update PowerShell in the background
124124
Start-Job -ScriptBlock $scriptBlock -ArgumentList $githubUser, $files, $baseDir, $canConnectToGitHub
125125
} else {
@@ -139,9 +139,9 @@ $Deferred = {
139139
} else {
140140
if ($global:canConnectToGitHub) {
141141
#Load Custom Functions
142-
. Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/dotfiles/main/pwsh/custom_functions.ps1" -UseBasicParsing).Content
142+
. Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/unix-pwsh/main/custom_functions.ps1" -UseBasicParsing).Content
143143
#Load Functions
144-
. Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/dotfiles/main/pwsh/functions.ps1" -UseBasicParsing).Content
144+
. Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$githubUser/unix-pwsh/main/functions.ps1" -UseBasicParsing).Content
145145
# Update PowerShell in the background
146146
Start-Job -ScriptBlock $scriptBlock -ArgumentList $githubUser, $files, $baseDir, $canConnectToGitHub
147147
} else {

installer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function Test-Pwsh {
3030
Run-UpdatePowershell
3131
Start-Sleep -Seconds 8 # Wait for the update to finish
3232
Write-Host "Restarting the installation script with Powershell Core" -ForegroundColor Green
33-
Start-Process pwsh -ArgumentList "-NoExit", "-Command Invoke-Expression (Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/$githubUser/dotfiles/main/pwsh/Microsoft.PowerShell_profile.ps1'-UseBasicParsing).Content ; Install-Config"
33+
Start-Process pwsh -ArgumentList "-NoExit", "-Command Invoke-Expression (Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/$githubUser/unix-pwsh/main/Microsoft.PowerShell_profile.ps1'-UseBasicParsing).Content ; Install-Config"
3434
exit
3535
} else {
3636
Write-Host "✅ PowerShell Core (pwsh) is installed." -ForegroundColor Green

0 commit comments

Comments
 (0)