]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Source my profile please.
authorEdward Delaporte <delaport@illinois.edu>
Wed, 18 Dec 2019 20:54:14 +0000 (14:54 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Wed, 18 Dec 2019 20:54:14 +0000 (14:54 -0600)
bootstrap.ps1 [new file with mode: 0644]

diff --git a/bootstrap.ps1 b/bootstrap.ps1
new file mode 100644 (file)
index 0000000..8cf3bf1
--- /dev/null
@@ -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
+