From 2038ce42dea7e474da0e01bea9a6e95f7b867aa6 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Wed, 18 Dec 2019 14:54:14 -0600 Subject: [PATCH] Source my profile please. --- bootstrap.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bootstrap.ps1 diff --git a/bootstrap.ps1 b/bootstrap.ps1 new file mode 100644 index 0000000..8cf3bf1 --- /dev/null +++ b/bootstrap.ps1 @@ -0,0 +1,15 @@ +# Setup my PowerShell Profile (on Windows) +if(-Not(Test-Path -Path $profile)) { + New-Item -Path "$profile" -ItemType File +} +$sourceMeLine = "source $pwd/Microsoft.PowerShell_profile.ps1" +$profileContents = Get-Content $profile +if(! $profileContents -contains $sourceMeLine) { + Add-Content -Path $profile -Value $sourceMeLine +} +# Install Chocolatey + +# Install Python3 and Pip + +# Install Stub PowerShell Profile that sources the one from DotFiles + -- 2.47.3