From: Edward Delaporte Date: Wed, 18 Dec 2019 20:54:14 +0000 (-0600) Subject: Source my profile please. X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/2038ce42dea7e474da0e01bea9a6e95f7b867aa6?ds=sidebyside Source my profile please. --- 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 +